Bump to v4.2.1.

This commit is contained in:
John-David Dalton
2016-02-03 00:57:54 -08:00
parent 5ca813254d
commit e2a6db008f
10 changed files with 39 additions and 23 deletions

View File

@@ -42,7 +42,9 @@ define(['./_createWrapper', './_replaceHolders', './rest'], function(createWrapp
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);