Skip to content

Commit 9f95d4c

Browse files
committed
Merge pull request systemjs#45 from simonykq/master
IE8 compatibility
2 parents a1b31ae + deb54fb commit 9f95d4c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dist/system-amd-production.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ global.upgradeSystemLoader = function() {
257257
// amd require
258258
if (names instanceof Array)
259259
Promise.all(names.map(function(name) {
260-
return System.import(name, referer);
260+
return System['import'](name, referer);
261261
})).then(callback, errback);
262262

263263
// commonjs require
@@ -297,7 +297,7 @@ global.upgradeSystemLoader = function() {
297297
System.bundles[normalized] = System.bundles[normalized] || System.bundles[b];
298298
return System.load(normalized);
299299
});
300-
return System.import(b).then(function() { return ''; });
300+
return System['import'](b).then(function() { return ''; });
301301
}
302302
return systemFetch.apply(this, arguments);
303303
}

dist/system-amd-production.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/system.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ global.upgradeSystemLoader = function() {
791791
System.bundles[normalized] = System.bundles[normalized] || System.bundles[b];
792792
return System.load(normalized);
793793
});
794-
return System.import(b).then(function() { return ''; });
794+
return System['import'](b).then(function() { return ''; });
795795
}
796796
return systemFetch.apply(this, arguments);
797797
}

0 commit comments

Comments
 (0)