Bump to v3.9.0.

This commit is contained in:
jdalton
2015-05-07 01:47:27 -07:00
parent 53c14e5b9b
commit f84f83a4a5
88 changed files with 1022 additions and 1098 deletions

View File

@@ -47,8 +47,9 @@ var baseClone = require('../internal/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);
}
module.exports = cloneDeep;