Last active
August 29, 2015 14:16
-
-
Save rootscript/1ac7f0162cb39f6e6d8e to your computer and use it in GitHub Desktop.
--jQuery: Template siaf self-invoking-anonymous-function
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() { | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Should be used when running scripts before
</body>
,when responding to events etc... so that page loads quicker.
As opposed to using (in the header):
When the DOM is ready to be manipulated, execute this callback function.