Created
October 19, 2014 04:56
-
-
Save logikinc/d057c76e4d98d6125d65 to your computer and use it in GitHub Desktop.
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 App = function() { | |
var debug = true; | |
var self = this; | |
/** | |
* Initializing app on document ready | |
* or device ready in case of PhoneGap | |
* | |
* @returns {App} | |
*/ | |
this.init = function() { | |
self.settings(); | |
self.events(); | |
return this; | |
}; | |
/** | |
* Setting various variables and making | |
* some DOM changes | |
*/ | |
this.settings = function() { | |
}; | |
/** | |
* Binding events | |
*/ | |
this.events = function() { | |
}; | |
return this; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment