fix(performance): remove unneeded test code

This commit is contained in:
Sean Larkin 2016-12-13 10:29:38 -06:00
parent 541ec7ce08
commit 3410d84e33
1 changed files with 1 additions and 5 deletions

View File

@ -23,7 +23,7 @@ Entrypoint.prototype.insertChunk = function(chunk, before) {
chunk.entrypoints.push(this);
};
Entrypoint.prototype.getFiles = function(filterPredicate) {
Entrypoint.prototype.getFiles = function() {
var files = [];
for(var chunkIdx = 0; chunkIdx < this.chunks.length; chunkIdx++) {
@ -34,10 +34,6 @@ Entrypoint.prototype.getFiles = function(filterPredicate) {
}
}
if (typeof filterFn !== 'undefined') {
return
}
return files;
}