aboutsummaryrefslogtreecommitdiff
path: root/node_modules/lodash/curry.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/lodash/curry.js')
-rw-r--r--node_modules/lodash/curry.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/node_modules/lodash/curry.js b/node_modules/lodash/curry.js
index ce3910bc6..918db1a4a 100644
--- a/node_modules/lodash/curry.js
+++ b/node_modules/lodash/curry.js
@@ -1,7 +1,7 @@
var createWrap = require('./_createWrap');
/** Used to compose bitmasks for function metadata. */
-var CURRY_FLAG = 8;
+var WRAP_CURRY_FLAG = 8;
/**
* Creates a function that accepts arguments of `func` and either invokes
@@ -46,7 +46,7 @@ var CURRY_FLAG = 8;
*/
function curry(func, arity, guard) {
arity = guard ? undefined : arity;
- var result = createWrap(func, CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);
+ var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);
result.placeholder = curry.placeholder;
return result;
}