aboutsummaryrefslogtreecommitdiff
path: root/node_modules/lodash/bindKey.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/lodash/bindKey.js')
-rw-r--r--node_modules/lodash/bindKey.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/node_modules/lodash/bindKey.js b/node_modules/lodash/bindKey.js
index 882444084..f7fd64cd4 100644
--- a/node_modules/lodash/bindKey.js
+++ b/node_modules/lodash/bindKey.js
@@ -4,9 +4,9 @@ var baseRest = require('./_baseRest'),
replaceHolders = require('./_replaceHolders');
/** Used to compose bitmasks for function metadata. */
-var BIND_FLAG = 1,
- BIND_KEY_FLAG = 2,
- PARTIAL_FLAG = 32;
+var WRAP_BIND_FLAG = 1,
+ WRAP_BIND_KEY_FLAG = 2,
+ WRAP_PARTIAL_FLAG = 32;
/**
* Creates a function that invokes the method at `object[key]` with `partials`
@@ -54,10 +54,10 @@ var BIND_FLAG = 1,
* // => 'hiya fred!'
*/
var bindKey = baseRest(function(object, key, partials) {
- var bitmask = BIND_FLAG | BIND_KEY_FLAG;
+ var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG;
if (partials.length) {
var holders = replaceHolders(partials, getHolder(bindKey));
- bitmask |= PARTIAL_FLAG;
+ bitmask |= WRAP_PARTIAL_FLAG;
}
return createWrap(key, bitmask, object, partials, holders);
});