_.once: Use basePartial instead of partial

This commit is contained in:
Benjamin Tan
2014-09-29 18:11:57 +08:00
committed by John-David Dalton
parent 059fead736
commit f31360e1a4

View File

@@ -6601,7 +6601,7 @@
* initialize();
* // `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