Last active
January 29, 2017 04:03
-
-
Save jaggy/10555076 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
/* | |
|-------------------------------------------------------------------------- | |
| jQuery Boilerplate based on http://gregfranko.com/jquery-best-practices/#/8 | |
| Author: jaggyspaghetti | |
| Gist at https://gist.github.com/jaggyspaghetti/10555076 | |
|-------------------------------------------------------------------------- | |
*/ | |
(function(application) { | |
// avoid jQuery conflicts | |
application(window.jQuery, window, document); | |
}(function($, window, document) { | |
/* | |
|-------------------------------------------------------------------------- | |
| Document Ready | |
|-------------------------------------------------------------------------- | |
*/ | |
$(function() { | |
});//end $(document).ready(); | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment