aboutsummaryrefslogtreecommitdiff
path: root/node_modules/lodash/_createBind.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/lodash/_createBind.js')
-rw-r--r--node_modules/lodash/_createBind.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/node_modules/lodash/_createBind.js b/node_modules/lodash/_createBind.js
index aadc94380..07cb99f4d 100644
--- a/node_modules/lodash/_createBind.js
+++ b/node_modules/lodash/_createBind.js
@@ -2,7 +2,7 @@ var createCtor = require('./_createCtor'),
root = require('./_root');
/** Used to compose bitmasks for function metadata. */
-var BIND_FLAG = 1;
+var WRAP_BIND_FLAG = 1;
/**
* Creates a function that wraps `func` to invoke it with the optional `this`
@@ -15,7 +15,7 @@ var BIND_FLAG = 1;
* @returns {Function} Returns the new wrapped function.
*/
function createBind(func, bitmask, thisArg) {
- var isBind = bitmask & BIND_FLAG,
+ var isBind = bitmask & WRAP_BIND_FLAG,
Ctor = createCtor(func);
function wrapper() {