Bump to v4.2.1.

This commit is contained in:
John-David Dalton
2016-02-03 01:09:45 -08:00
parent 24a4285b70
commit d8bc95999f
16 changed files with 67 additions and 38 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);