mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 00:57:48 +00:00
Bump to v4.14.0.
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
import apply from './_apply.js';
|
||||
import baseEach from './_baseEach.js';
|
||||
import baseInvoke from './_baseInvoke.js';
|
||||
import baseRest from './_baseRest.js';
|
||||
import isArrayLike from './isArrayLike.js';
|
||||
import isKey from './_isKey.js';
|
||||
import rest from './rest.js';
|
||||
|
||||
/**
|
||||
* Invokes the method at `path` of each element in `collection`, returning
|
||||
* an array of the results of each invoked method. Any additional arguments
|
||||
* are provided to each invoked method. If `methodName` is a function, it's
|
||||
* invoked for and `this` bound to, each element in `collection`.
|
||||
* are provided to each invoked method. If `path` is a function, it's invoked
|
||||
* for, and `this` bound to, each element in `collection`.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
@@ -28,7 +28,7 @@ import rest from './rest.js';
|
||||
* _.invokeMap([123, 456], String.prototype.split, '');
|
||||
* // => [['1', '2', '3'], ['4', '5', '6']]
|
||||
*/
|
||||
var invokeMap = rest(function(collection, path, args) {
|
||||
var invokeMap = baseRest(function(collection, path, args) {
|
||||
var index = -1,
|
||||
isFunc = typeof path == 'function',
|
||||
isProp = isKey(path),
|
||||
|
||||
Reference in New Issue
Block a user