Created
October 2, 2012 07:04
-
-
Save skoon/3816955 to your computer and use it in GitHub Desktop.
JS produced by TypeScript
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
var bootstrap; | |
(function (bootstrap) { | |
var itemsLoaded = [];//maintain a list of items we have already loaded to prevent duplicates | |
var bootstrap = (function () { | |
function bootstrap(scriptSource, scriptId, callback) { | |
head = document.head || document.getElementsByTagName("head")[0]; | |
scriptId = scriptId || "script" + Math.floor(Math.random() * 1234); | |
this.scriptSource = scriptSource; | |
callback = callback || null; | |
} | |
return bootstrap; | |
})(); | |
})(bootstrap || (bootstrap = {})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment