Created
May 13, 2015 19:40
-
-
Save beckettkev/97b254a1da00e9967262 to your computer and use it in GitHub Desktop.
This file contains 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
MyCompany.MyProject.MyAmazingJavaScriptLibrary.CoolStuffForKicks = function() { | |
… | |
var _iAmNotGlobalButIDoRunAutomatically = function() { | |
console.log('I am private, but I get run once on script load "automatically"! '); | |
}; | |
… | |
_iAmNotGlobalButIDoRunAutomatically(); | |
… | |
}(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment