Bump to v3.9.0.

This commit is contained in:
John-David Dalton
2015-12-16 17:50:42 -08:00
parent 26837e7fe2
commit 81e41ca0c8
89 changed files with 1033 additions and 1088 deletions

View File

@@ -46,8 +46,9 @@ define(['../internal/baseClone', '../internal/bindCallback'], function(baseClone
* // => 20
*/
function cloneDeep(value, customizer, thisArg) {
customizer = typeof customizer == 'function' && bindCallback(customizer, thisArg, 1);
return baseClone(value, true, customizer);
return typeof customizer == 'function'
? baseClone(value, true, bindCallback(customizer, thisArg, 1))
: baseClone(value, true);
}
return cloneDeep;