Skip to content

Commit

Permalink
check for inserted modules by module name
Browse files Browse the repository at this point in the history
  • Loading branch information
ekashida authored and Ezequiel Rodriguez committed Mar 31, 2014
1 parent 2de2c52 commit ca8b683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loader/js/loader.js
Expand Up @@ -2604,7 +2604,7 @@ Y.log('Undefined module: ' + mname + ', matched a pattern: ' +

if (mods.length) {
for (i = 0, len = mods.length; i < len; i++) {
if (inserted[mods[i]]) {
if (inserted[mods[i].name]) {
continue;
}
m = mods[i];
Expand Down

0 comments on commit ca8b683

Please sign in to comment.