mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 02:17:48 +00:00
Bump to v4.8.0.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import apply from './_apply';
|
||||
import arrayMap from './_arrayMap';
|
||||
import baseFlatten from './_baseFlatten';
|
||||
import baseIteratee from './_baseIteratee';
|
||||
import rest from './rest';
|
||||
|
||||
@@ -16,7 +15,7 @@ var nativeMin = Math.min;
|
||||
* @memberOf _
|
||||
* @category Function
|
||||
* @param {Function} func The function to wrap.
|
||||
* @param {...(Function|Function[])} [transforms] The functions to transform
|
||||
* @param {...Function} [transforms] The functions to transform
|
||||
* arguments, specified individually or in arrays.
|
||||
* @returns {Function} Returns the new function.
|
||||
* @example
|
||||
@@ -40,7 +39,7 @@ var nativeMin = Math.min;
|
||||
* // => [100, 10]
|
||||
*/
|
||||
var overArgs = rest(function(func, transforms) {
|
||||
transforms = arrayMap(baseFlatten(transforms, 1), baseIteratee);
|
||||
transforms = arrayMap(transforms, baseIteratee);
|
||||
|
||||
var funcsLength = transforms.length;
|
||||
return rest(function(args) {
|
||||
|
||||
Reference in New Issue
Block a user