Skip to content

Instantly share code, notes, and snippets.

@logikinc
Created October 19, 2014 04:56
Show Gist options
  • Save logikinc/d057c76e4d98d6125d65 to your computer and use it in GitHub Desktop.
Save logikinc/d057c76e4d98d6125d65 to your computer and use it in GitHub Desktop.
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