Missed a BIND_FLAG use in baseCreateCallback.

This commit is contained in:
John-David Dalton
2014-01-16 20:18:21 -08:00
parent 87bb926fef
commit d56de091f6

View File

@@ -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) {