Skip to content

Commit

Permalink
Merge pull request #1706 from joeljeske/fix-production-global-polyfil…
Browse files Browse the repository at this point in the history
…l-scoping

Fix the context scope of SystemJS.register when called from browsers System.register
  • Loading branch information
guybedford committed Jul 10, 2017
2 parents 68ed876 + 80184e0 commit b8a50e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/system-production.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
}
}
Expand Down

0 comments on commit b8a50e1

Please sign in to comment.