Skip to content

Commit

Permalink
Missed a BIND_FLAG use in baseCreateCallback.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Jan 17, 2014
1 parent 55defc5 commit 8cffc77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lodash.js
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@
}
}
// exit early if there are no `this` references or `func` is bound
if (bindData === false || (bindData !== true && bindData[1] & 1)) {
if (bindData === false || (bindData !== true && bindData[1] & BIND_FLAG)) {
return func;
}
switch (argCount) {
Expand Down

0 comments on commit 8cffc77

Please sign in to comment.