Created
June 3, 2013 23:33
-
-
Save githiro/5702370 to your computer and use it in GitHub Desktop.
JS: Basic template with _self
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _self = {}; | |
_self.$ = {};//jQuery objects container | |
_self.init = function() { | |
_self.$.someElem = $("#someElem"); | |
}; | |
$(function() { | |
_self.init(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment