Bump to v4.16.5.

This commit is contained in:
John-David Dalton
2016-10-30 20:08:19 -07:00
parent 6778141728
commit be1e9a3170
113 changed files with 277 additions and 335 deletions

View File

@@ -1,4 +1,4 @@
import identity from './identity.js';
import castFunction from './_castFunction.js';
import partial from './partial.js';
/**
@@ -24,8 +24,7 @@ import partial from './partial.js';
* // => '<p>fred, barney, &amp; pebbles</p>'
*/
function wrap(value, wrapper) {
wrapper = wrapper == null ? identity : wrapper;
return partial(wrapper, value);
return partial(castFunction(wrapper), value);
}
export default wrap;