Bump to v4.2.1.

This commit is contained in:
John-David Dalton
2016-02-03 00:54:36 -08:00
parent 365d103439
commit f18e5950b9
11 changed files with 21 additions and 13 deletions

View File

@@ -44,7 +44,9 @@ var BIND_FLAG = 1,
var bind = rest(function(func, thisArg, partials) {
var bitmask = BIND_FLAG;
if (partials.length) {
var holders = replaceHolders(partials, bind.placeholder);
var placeholder = bind.placeholder,
holders = replaceHolders(partials, placeholder);
bitmask |= PARTIAL_FLAG;
}
return createWrapper(func, bitmask, thisArg, partials, holders);