Bump to v4.16.5.

This commit is contained in:
John-David Dalton
2016-10-30 20:06:57 -07:00
parent 52a75b18e4
commit b58a63eff1
112 changed files with 494 additions and 517 deletions

View File

@@ -1,4 +1,4 @@
define(['./identity', './partial'], function(identity, partial) {
define(['./_castFunction', './partial'], function(castFunction, partial) {
/**
* Creates a function that provides `value` to `wrapper` as its first
@@ -23,8 +23,7 @@ define(['./identity', './partial'], function(identity, partial) {
* // => '<p>fred, barney, &amp; pebbles</p>'
*/
function wrap(value, wrapper) {
wrapper = wrapper == null ? identity : wrapper;
return partial(wrapper, value);
return partial(castFunction(wrapper), value);
}
return wrap;