mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 17:07:49 +00:00
Use baseEach in underscore build of _.sortBy.
This commit is contained in:
2
dist/lodash.underscore.js
vendored
2
dist/lodash.underscore.js
vendored
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user