From f27f3efe530a60a568cbfe5675cf81c2e6d4e045 Mon Sep 17 00:00:00 2001 From: Simon Yu Date: Wed, 19 Feb 2014 18:11:18 +0000 Subject: [PATCH] Update system-amd-production.js additional fix on System.import --- dist/system-amd-production.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/system-amd-production.js b/dist/system-amd-production.js index a8b4d1e7..1685ef07 100644 --- a/dist/system-amd-production.js +++ b/dist/system-amd-production.js @@ -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); }