Fix build.js

This commit is contained in:
kangax 2013-05-30 22:09:55 +02:00
parent 77013208de
commit b3f76c7e09

View file

@ -191,10 +191,8 @@ var filesToInclude = [
if (buildMinified) {
for (var i = 0; i < filesToInclude.length; i++) {
var fileNameWithoutSlashes = filesToInclude[i].replace(/\//g, '^');
if (!filesToInclude[i]) continue;
var fileNameWithoutSlashes = filesToInclude[i].replace(/\//g, '^');
exec('uglifyjs -nc ' + filesToInclude[i] + ' > tmp/' + fileNameWithoutSlashes);
}
}