for(var i =0; i < lines.length;i++) {
var f = lines[i].strip();
- if (Regex.match_simple ("^\/", f) ||
+ if (f.length < 1 ||
+ Regex.match_simple ("^\/", f) ||
!Regex.match_simple ("[a-zA-Z]+", f)
){
- continue; // blank or not starting with a-z
+ continue; // blank comment or not starting with a-z
}
if (Regex.match_simple ("\.js$", f)) {
}
// this maps Roo.bootstrap.XXX to Roo/bootstrap/xxx.js
+ // should we prefix? =- or should this be done elsewhere?
-
- var add = f.replace(".", "/").replace(/\s+/g,'')+'.js';
+ var add = f.replace(".", "/") + ".js";
if (_this.files.indexOf(f) > -1) {
return;
}