Skip to content

Commit

Permalink
removed default params for node 4
Browse files Browse the repository at this point in the history
  • Loading branch information
hulkish committed Jul 6, 2017
1 parent cadf9f7 commit 5f08aa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Chunk.js
Expand Up @@ -421,8 +421,8 @@ class Chunk {
};
}

sortModules(sortByFn = sortById) {
this._modules.sortWith(sortByFn);
sortModules(sortByFn) {
this._modules.sortWith(sortByFn || sortById);
}

sortItems() {
Expand Down

0 comments on commit 5f08aa4

Please sign in to comment.