Skip to content

Commit

Permalink
Fix the context scope of SystemJS.register when called from browser's…
Browse files Browse the repository at this point in the history
… System.register
  • Loading branch information
Joel Jeske committed Jul 7, 2017
1 parent 68ed876 commit 80184e0
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 80184e0

Please sign in to comment.