Ensure createBound works with ES5 features removed.

Former-commit-id: 30fd5e615b473c9c9d3c013a4a5d7e1759872ede
This commit is contained in:
John-David Dalton
2013-08-09 21:23:03 -07:00
parent dda56405e6
commit fca8da118e
8 changed files with 58 additions and 58 deletions

View File

@@ -646,9 +646,7 @@
push.apply(args, partialRightArgs);
}
if (isCurry && args.length < arity) {
bindData[2] = args;
bindData[3] = null;
return createBound(bound, bitmask & ~8 & ~16);
return createBound(func, 12, args, null, null, arity);
}
if (isBindKey) {
func = thisBinding[key];