Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Commit 7e2ebdb

Browse files
committed
Expose loadJS on window, even when require'd via CommonJS and wrapped with Browserify
1 parent a5aabd5 commit 7e2ebdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

loadJS.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
if( typeof module !== "undefined" ){
1717
module.exports = w.loadJS;
1818
}
19-
}( this ));
19+
}( typeof global !== "undefined" ? global : this ));

0 commit comments

Comments
 (0)