Skip to content

Instantly share code, notes, and snippets.

@IOIO72
Last active July 4, 2016 23:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IOIO72/d7e034acfddff5e6d0148eb4fc5c61da to your computer and use it in GitHub Desktop.
Save IOIO72/d7e034acfddff5e6d0148eb4fc5c61da to your computer and use it in GitHub Desktop.
(function app() {
const event = {
init() {
$(document).ready(this.onDomReady);
},
onDomReady() {
}
};
const view = {
init() {
this.$document = $(document);
this.$window = $(window);
this.$scroll = $('html, body');
this.$body = $('body');
}
};
const controller = {
};
(function init() {
view.init();
event.init();
}());
}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment