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

@@ -52,7 +52,9 @@ define(['./_createWrapper', './_replaceHolders', './rest'], function(createWrapp
var bindKey = rest(function(object, key, partials) {
var bitmask = BIND_FLAG | BIND_KEY_FLAG;
if (partials.length) {
var holders = replaceHolders(partials, bindKey.placeholder);
var placeholder = bindKey.placeholder,
holders = replaceHolders(partials, placeholder);
bitmask |= PARTIAL_FLAG;
}
return createWrapper(key, bitmask, object, partials, holders);