Ensure _.partialRight args are applied to __bindData__ in the correct order. [closes #408]

This commit is contained in:
John-David Dalton
2013-11-29 07:06:13 -06:00
parent 7712765c3a
commit 34cf8fc43c
6 changed files with 97 additions and 93 deletions

View File

@@ -1729,7 +1729,7 @@
}
// append partial right arguments
if (isPartialRight) {
push.apply(bindData[3] || (bindData[3] = []), partialRightArgs);
unshift.apply(bindData[3] || (bindData[3] = []), partialRightArgs);
}
// merge flags
bindData[1] |= bitmask;