mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 16:17:50 +00:00
Bump to v4.17.0.
This commit is contained in:
@@ -4,7 +4,7 @@ import getHolder from './_getHolder.js';
|
||||
import replaceHolders from './_replaceHolders.js';
|
||||
|
||||
/** Used to compose bitmasks for function metadata. */
|
||||
var PARTIAL_FLAG = 32;
|
||||
var WRAP_PARTIAL_FLAG = 32;
|
||||
|
||||
/**
|
||||
* Creates a function that invokes `func` with `partials` prepended to the
|
||||
@@ -41,7 +41,7 @@ var PARTIAL_FLAG = 32;
|
||||
*/
|
||||
var partial = baseRest(function(func, partials) {
|
||||
var holders = replaceHolders(partials, getHolder(partial));
|
||||
return createWrap(func, PARTIAL_FLAG, undefined, partials, holders);
|
||||
return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders);
|
||||
});
|
||||
|
||||
// Assign default placeholders.
|
||||
|
||||
Reference in New Issue
Block a user