Use baseEach in underscore build of _.sortBy.

This commit is contained in:
John-David Dalton
2014-01-19 13:41:15 -08:00
parent 63ea01104b
commit 77fbffdc4b
2 changed files with 2 additions and 2 deletions

View File

@@ -3019,7 +3019,7 @@
result = Array(typeof length == 'number' ? length : 0);
callback = createCallback(callback, thisArg, 3);
forEach(collection, function(value, key, collection) {
baseEach(collection, function(value, key, collection) {
result[++index] = {
'criteria': callback(value, key, collection),
'index': index,