Created
October 3, 2018 17:58
-
-
Save iansvo/22f93b2ee7eed9313070447131a95274 to your computer and use it in GitHub Desktop.
Boilerplate of an IIFE (Immediately Invoked Function Expression) to provide scope and allow for $ use in jQuery noConflict mode
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($) { | |
| $(document).ready(function() { | |
| // Call doc ready functions here | |
| }); | |
| // Add additional listeners as needed | |
| // Define functions below | |
| })(jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment