mirror of
https://github.com/systemjs/systemjs.git
synced 2026-01-25 14:57:38 +00:00
Update system-amd-production.js
additional fix on System.import
This commit is contained in:
parent
c1849b63ad
commit
f27f3efe53
4
dist/system-amd-production.js
vendored
4
dist/system-amd-production.js
vendored
@ -257,7 +257,7 @@ global.upgradeSystemLoader = function() {
|
||||
// amd require
|
||||
if (names instanceof Array)
|
||||
Promise.all(names.map(function(name) {
|
||||
return System.import(name, referer);
|
||||
return System['import'](name, referer);
|
||||
})).then(callback, errback);
|
||||
|
||||
// commonjs require
|
||||
@ -297,7 +297,7 @@ global.upgradeSystemLoader = function() {
|
||||
System.bundles[normalized] = System.bundles[normalized] || System.bundles[b];
|
||||
return System.load(normalized);
|
||||
});
|
||||
return System.import(b).then(function() { return ''; });
|
||||
return System['import'](b).then(function() { return ''; });
|
||||
}
|
||||
return systemFetch.apply(this, arguments);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user