Bump to v4.17.0.

This commit is contained in:
John-David Dalton
2016-11-13 22:49:46 -08:00
parent cd1921dfad
commit 7402021739
60 changed files with 555 additions and 404 deletions

View File

@@ -1,5 +1,9 @@
define(['./_baseClone'], function(baseClone) {
/** Used to compose bitmasks for cloning. */
var CLONE_DEEP_FLAG = 1,
CLONE_SYMBOLS_FLAG = 4;
/**
* This method is like `_.clone` except that it recursively clones `value`.
*
@@ -19,7 +23,7 @@ define(['./_baseClone'], function(baseClone) {
* // => false
*/
function cloneDeep(value) {
return baseClone(value, true, true);
return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
}
return cloneDeep;