Created
November 8, 2013 18:26
-
-
Save jtenner/7375356 to your computer and use it in GitHub Desktop.
Basic library constructor definition exposed to the global namespace via the window parameter
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
!function(window, document, undefined){ | |
function constructorObject(options){ | |
//do something with constructor object here | |
} | |
window["constructorObject"] = constructorObject; | |
}(window,document) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment