mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 17:07:49 +00:00
Bump to v4.14.0.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
var baseInvoke = require('./_baseInvoke'),
|
||||
rest = require('./rest');
|
||||
baseRest = require('./_baseRest');
|
||||
|
||||
/**
|
||||
* Creates a function that invokes the method at `path` of a given object.
|
||||
@@ -25,7 +25,7 @@ var baseInvoke = require('./_baseInvoke'),
|
||||
* _.map(objects, _.method(['a', 'b']));
|
||||
* // => [2, 1]
|
||||
*/
|
||||
var method = rest(function(path, args) {
|
||||
var method = baseRest(function(path, args) {
|
||||
return function(object) {
|
||||
return baseInvoke(object, path, args);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user