mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 09:27:49 +00:00
Bump to v4.14.0.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import baseInvoke from './_baseInvoke.js';
|
||||
import rest from './rest.js';
|
||||
import baseRest from './_baseRest.js';
|
||||
|
||||
/**
|
||||
* The opposite of `_.method`; this method creates a function that invokes
|
||||
@@ -24,7 +24,7 @@ import rest from './rest.js';
|
||||
* _.map([['a', '2'], ['c', '0']], _.methodOf(object));
|
||||
* // => [2, 0]
|
||||
*/
|
||||
var methodOf = rest(function(object, args) {
|
||||
var methodOf = baseRest(function(object, args) {
|
||||
return function(path) {
|
||||
return baseInvoke(object, path, args);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user