mirror of
https://github.com/systemjs/systemjs.git
synced 2026-01-25 14:57:38 +00:00
dont clobber existing System global
This commit is contained in:
parent
00a728a36e
commit
7349bcd3d3
@ -5,7 +5,9 @@ SystemJSLoader.prototype.version = VERSION;
|
||||
|
||||
var System = new SystemJSLoader();
|
||||
|
||||
global.System = global.SystemJS = System;
|
||||
global.SystemJS = System;
|
||||
|
||||
global.System = global.System || global.SystemJS;
|
||||
|
||||
if (typeof module !== 'undefined' && module.exports)
|
||||
module.exports = System;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user