Bump to v4.5.0.

This commit is contained in:
John-David Dalton
2016-02-16 23:28:06 -08:00
parent 91d3468c81
commit 0dd6798d8b
7 changed files with 78 additions and 77 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.