_getSrcFiles : function()
{
this.srcFiles = [];
-
+ var _this = this;
var ext = ["js"];
if (Options.ext) {
ext = Options.ext.split(",").map(function($) {return $.toLowerCase()});
for (var i = 0; i < Options.src.length; i++) {
// add to sourcefiles..
- File.list(Options.src[i] ).forEach($) {
+ File.list(Options.src[i] ).forEach(function($) {
if (Options['exclude-src'].indexOf($) > -1) {
return;
}
if (ext.indexOf(thisExt) < 0) {
return;
}
- this.srcFiles.push(Options.src[i] + '/' + $);
+ _this.srcFiles.push(Options.src[i] + '/' + $);
});
}
- Seed.print(JSON.stringify(this.srcFiles, null,4));Seed.quit();
+ //Seed.print(JSON.stringify(this.srcFiles, null,4));Seed.quit();
return this.srcFiles;
},