Tweak __bindData__ detection in createBound.

This commit is contained in:
John-David Dalton
2013-10-04 23:17:06 -07:00
parent 613237727d
commit 624e4bca40
5 changed files with 16 additions and 16 deletions

View File

@@ -1550,7 +1550,7 @@
isPartialRight = partialRightArgs = false;
}
var bindData = func && func.__bindData__;
if (typeof bindData == 'object') {
if (bindData && bindData !== true) {
if (isBind && !(bindData[1] & 1)) {
bindData[4] = thisArg;
}