Fixed bug - emacs temp files being picked up

This commit is contained in:
walterhiggins 2013-02-09 10:23:24 +00:00
parent 0458f6639d
commit 03ec3a6ae0

View file

@ -43,7 +43,7 @@ var sortByModule = function(a,b){
return 1;
};
var store = [];
find(new File(dir),store,/\.js$/);
find(new File(dir),store,/\/[a-zA-Z0-9_\-]+\.js$/);
store.sort(sortByModule);
var contents = [];
for (var i =0; i < store.length; i++){