diff --git a/loadJS.js b/loadJS.js index 2080384..ab97901 100644 --- a/loadJS.js +++ b/loadJS.js @@ -16,4 +16,4 @@ if( typeof module !== "undefined" ){ module.exports = w.loadJS; } -}( this )); +}( typeof global !== "undefined" ? global : this ));