Merge pull request #64 from sskaje/master

changed download filter to be case insensitive
This commit is contained in:
hamza zia 2013-08-02 17:03:10 -07:00
commit f76837ae28

View File

@ -110,7 +110,8 @@ function(
if (!d.files.length) return true;
return _.filter(d.files, function(f) {
return f.path.search(filter) != -1;
return f.path.toLowerCase().indexOf(filter.toLowerCase()) != -1;
// return f.path.search(filter) != -1;
}).length;
});
};