meta_check.js revision f234ab79aa42491681c4e42b0fc6221da157e86f
meta = {},
data = {},
logs = [],
warns = [];
}
}
}
});
var m = {};
if (use) {
}
if (requires) {
}
}
return m;
};
//console.error(' ' + d + '/');
if (stat.isDirectory()) {
name = d;
if (f === 'meta') {
o.forEach(function(i) {
//console.error(' --', path.join('meta', i));
}
}
if (d[name]) {
warns.push(' [' + name + '] has both a requires and a use. The use should define the requires. FIX!');
}
if (d[name].submodules) {
for (var i in d[name].submodules) {
var m = d[name].submodules[i];
if (m.requires) {
if (!data[i]) {
data[i] = {};
}
}
}
}
}
}
});
}
if (m) {
if (m.use) {
}
}
if (m.requires) {
}
}
}
}
});
}
});
var hash = function(a) {
if (!a) {
return {};
}
var b = {};
a.forEach(function(v) {
b[v] = v;
});
return b;
}
}
var a1 = {
},
b1 = {
};
if (a.use) {
}
}
}
if (b.use) {
}
}
}
if (a.requires) {
}
}
}
if (b.requires) {
}
}
}
}
};
if (data[i]) {
//console.error('Comparing ', i);
} else {
//console.error('Failed to find', i, 'in data array');
}
});
});
}
});
}
//console.error(meta);
//console.error(data);