mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 19:37:49 +00:00
_.once: Use basePartial instead of partial
This commit is contained in:
committed by
John-David Dalton
parent
059fead736
commit
f31360e1a4
@@ -6601,7 +6601,7 @@
|
|||||||
* initialize();
|
* initialize();
|
||||||
* // `initialize` invokes `createApplication` once
|
* // `initialize` invokes `createApplication` once
|
||||||
*/
|
*/
|
||||||
var once = partial(before, 2);
|
var once = basePartial(before,PARTIAL_FLAG, [2], []);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a function that invokes `func` with `partial` arguments prepended
|
* Creates a function that invokes `func` with `partial` arguments prepended
|
||||||
|
|||||||
Reference in New Issue
Block a user