Skip to content

Commit

Permalink
possible amd define mutation bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Apr 18, 2019
1 parent e57027f commit 0ec9da6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extras/amd.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
}
else {
if (System.registerRegistry)
System.registerRegistry[name] = createAMDRegister(deps, execute);
System.registerRegistry[name] = createAMDRegister([].concat(deps), execute);
name = deps;
deps = execute;
}
Expand Down

0 comments on commit 0ec9da6

Please sign in to comment.