mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 18:37:50 +00:00
Bump to v4.14.0.
This commit is contained in:
6
curry.js
6
curry.js
@@ -1,6 +1,6 @@
|
||||
import createWrapper from './_createWrapper.js';
|
||||
import createWrap from './_createWrap.js';
|
||||
|
||||
/** Used to compose bitmasks for wrapper metadata. */
|
||||
/** Used to compose bitmasks for function metadata. */
|
||||
var CURRY_FLAG = 8;
|
||||
|
||||
/**
|
||||
@@ -46,7 +46,7 @@ var CURRY_FLAG = 8;
|
||||
*/
|
||||
function curry(func, arity, guard) {
|
||||
arity = guard ? undefined : arity;
|
||||
var result = createWrapper(func, CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);
|
||||
var result = createWrap(func, CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);
|
||||
result.placeholder = curry.placeholder;
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user