Skip to content

Instantly share code, notes, and snippets.

@homleen
Last active December 20, 2015 17:48
Show Gist options
  • Save homleen/6171233 to your computer and use it in GitHub Desktop.
Save homleen/6171233 to your computer and use it in GitHub Desktop.
jQuery Boilerplate
$(function(){
'use strict';
var App = {
init: function() {
this.cacheElements();
this.bindEvents();
},
cacheElements: function() {
this.$root = $('#app-demo');
},
bindEvents: function() {
}
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment