Bump to v4.5.0.

This commit is contained in:
John-David Dalton
2016-02-16 23:15:59 -08:00
parent 94ba2e24e8
commit 2b1eb3f480
6 changed files with 30 additions and 28 deletions

View File

@@ -105,9 +105,10 @@ function baseClone(value, isDeep, customizer, key, object, stack) {
return copySymbols(value, baseAssign(result, value));
}
} else {
return cloneableTags[tag]
? initCloneByTag(value, tag, isDeep)
: (object ? value : {});
if (!cloneableTags[tag]) {
return object ? value : {};
}
result = initCloneByTag(value, tag, isDeep);
}
}
// Check for circular references and return its corresponding clone.