From 80184e000cc98bdebb8a96ce097c87cb746a36c8 Mon Sep 17 00:00:00 2001 From: Joel Jeske Date: Fri, 7 Jul 2017 10:55:33 -0500 Subject: [PATCH] Fix the context scope of SystemJS.register when called from browser's System.register --- src/system-production.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system-production.js b/src/system-production.js index a76ba95aa..571658f2a 100644 --- a/src/system-production.js +++ b/src/system-production.js @@ -19,7 +19,7 @@ if (isBrowser || isWorker) { global.System.register = function () { if (register) register.apply(this, arguments); - System.register.apply(this, arguments); + System.register.apply(System, arguments); }; } }