Skip to content

Commit

Permalink
fix(index): incorrect variable name in require-based default loader code
Browse files Browse the repository at this point in the history
Fixes #27
  • Loading branch information
EisenbergEffect committed Oct 13, 2015
1 parent 036c5b8 commit 4cdf9df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ if (!PLATFORM.global.System || !PLATFORM.global.System.import) {

return new Promise((resolve, reject) => {
require([id], m => {
this.moduleRegistry[newId] = m;
resolve(ensureOriginOnExports(m, newId));
this.moduleRegistry[id] = m;
resolve(ensureOriginOnExports(m, id));
}, reject);
});
};
Expand Down

0 comments on commit 4cdf9df

Please sign in to comment.