diff options
Diffstat (limited to 'node_modules/lodash/_createFlow.js')
-rw-r--r-- | node_modules/lodash/_createFlow.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/node_modules/lodash/_createFlow.js b/node_modules/lodash/_createFlow.js index b70d1df69..c6b43f799 100644 --- a/node_modules/lodash/_createFlow.js +++ b/node_modules/lodash/_createFlow.js @@ -12,10 +12,10 @@ var LARGE_ARRAY_SIZE = 200; var FUNC_ERROR_TEXT = 'Expected a function'; /** Used to compose bitmasks for function metadata. */ -var CURRY_FLAG = 8, - PARTIAL_FLAG = 32, - ARY_FLAG = 128, - REARG_FLAG = 256; +var WRAP_CURRY_FLAG = 8, + WRAP_PARTIAL_FLAG = 32, + WRAP_ARY_FLAG = 128, + WRAP_REARG_FLAG = 256; /** * Creates a `_.flow` or `_.flowRight` function. @@ -50,7 +50,7 @@ function createFlow(fromRight) { data = funcName == 'wrapper' ? getData(func) : undefined; if (data && isLaziable(data[0]) && - data[1] == (ARY_FLAG | CURRY_FLAG | PARTIAL_FLAG | REARG_FLAG) && + data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) && !data[4].length && data[9] == 1 ) { wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]); |