Last active
December 20, 2015 17:48
-
-
Save homleen/6171233 to your computer and use it in GitHub Desktop.
jQuery Boilerplate
This file contains hidden or 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
$(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