diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-11-16 01:59:39 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-11-16 02:00:31 +0100 |
commit | bd65bb67e25a79b019d745b7262b2008ce2adb15 (patch) | |
tree | 89e1b032103a63737f1a703e6a943832ef261704 /node_modules/lodash/bind.js | |
parent | f91466595b651721690133f58ab37f977539e95b (diff) |
incrementally verify denoms
The denominations are not stored in a separate object store.
Diffstat (limited to 'node_modules/lodash/bind.js')
-rw-r--r-- | node_modules/lodash/bind.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/node_modules/lodash/bind.js b/node_modules/lodash/bind.js index eac913bf6..b1076e93e 100644 --- a/node_modules/lodash/bind.js +++ b/node_modules/lodash/bind.js @@ -4,8 +4,8 @@ var baseRest = require('./_baseRest'), replaceHolders = require('./_replaceHolders'); /** Used to compose bitmasks for function metadata. */ -var BIND_FLAG = 1, - PARTIAL_FLAG = 32; +var WRAP_BIND_FLAG = 1, + WRAP_PARTIAL_FLAG = 32; /** * Creates a function that invokes `func` with the `this` binding of `thisArg` @@ -43,10 +43,10 @@ var BIND_FLAG = 1, * // => 'hi fred!' */ var bind = baseRest(function(func, thisArg, partials) { - var bitmask = BIND_FLAG; + var bitmask = WRAP_BIND_FLAG; if (partials.length) { var holders = replaceHolders(partials, getHolder(bind)); - bitmask |= PARTIAL_FLAG; + bitmask |= WRAP_PARTIAL_FLAG; } return createWrap(func, bitmask, thisArg, partials, holders); }); |