Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Commit

Permalink
fix sfx core bug
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Jan 24, 2017
1 parent 8b74b5c commit 42789de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/sfx-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

function getLoad (key) {
if (key.substr(0, 6) === '@node/')
return defineModule(key, createModule(nodeRequire(name.substr(6))), {});
return defineModule(key, createModule(nodeRequire(key.substr(6))), {});
else
return registry[key];
}
Expand Down
2 changes: 1 addition & 1 deletion templates/sfx-core.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 42789de

Please sign in to comment.