meta_check.js revision 741aad1de59d0780eb42d1d85f765c93281859fe
},
if (d[name][n]) {
for (var i in d[name][n]) {
var m = d[name][n][i];
if (!json[i]) {
json[i] = {};
}
if (m.requires) {
}
if (m.use) {
}
}
}
}
});
},
hash = function(a) {
if (!a) {
return {};
}
var b = {};
a.forEach(function(v) {
b[v] = v;
});
return b;
},
}
}
}
warns.push(' ' + color('[' + name + ']') + ' Fixing component.require should be component.requires');
}
});
var m = {};
if (use) {
}
if (requires) {
}
}
return m;
};
//Begin..
//console.log(' ' + d + '/');
if (stat.isDirectory()) {
name = d;
//Skip the YUI object..
return;
}
if (f === 'meta') {
o.forEach(function(i) {
try {
} catch (e) {
}
for (var name in d) {
//console.log(' --', path.join('meta', i));
}
}
}
}
warns.push(' ' + color('[' + name + ']') + ' has both a requires and a use. The use should define the requires. FIX!');
}
}
}
});
}
if (m) {
if (m.use) {
}
}
if (m.requires) {
}
}
}
}
});
}
});
if (!a && !b) {
//There is no use or require data for this module, skip it
return;
}
if (!a) {
a = {};
return;
}
if (!b) {
b = {};
return;
}
}
var a1 = {
},
b1 = {
};
}
if (a.use) {
}
}
}
if (b.use) {
}
}
}
if (a.requires) {
}
}
}
if (b.requires) {
}
}
}
}
};
m.forEach(function(v) {
mods[v] = v;
});
});
});
}
});
}
});
}