Bump to v4.10.0.

This commit is contained in:
John-David Dalton
2016-04-10 22:53:08 -07:00
parent 57f1942947
commit 76b289fe6e
52 changed files with 308 additions and 291 deletions

View File

@@ -1,4 +1,4 @@
define(['./_baseCastFunction', './_baseUpdate'], function(baseCastFunction, baseUpdate) {
define(['./_baseUpdate', './_castFunction'], function(baseUpdate, castFunction) {
/** Used as a safe reference for `undefined` in pre-ES5 environments. */
var undefined;
@@ -29,7 +29,7 @@ define(['./_baseCastFunction', './_baseUpdate'], function(baseCastFunction, base
*/
function updateWith(object, path, updater, customizer) {
customizer = typeof customizer == 'function' ? customizer : undefined;
return object == null ? object : baseUpdate(object, path, baseCastFunction(updater), customizer);
return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);
}
return updateWith;