Permalink
Browse files

Fixed an issue where module name is undefined

  • Loading branch information...
1 parent b4f7dc4 commit de75d40189a276ed164621b9e3c3005b1d9aadaa @davglass davglass committed Nov 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/yui/js/yui.js
View
@@ -621,7 +621,7 @@ with any configuration info required for the module.
//if (!loader || !loader.moduleInfo[name]) {
//if ((!loader || !loader.moduleInfo[name]) && !moot) {
- if (!moot) {
+ if (!moot && name) {
if ((name.indexOf('skin-') === -1) && (name.indexOf('css') === -1)) {
Y.Env._missed.push(name);
Y.Env._missed = Y.Array.dedupe(Y.Env._missed);

0 comments on commit de75d40

Please sign in to comment.