Bump to v4.5.0.

This commit is contained in:
John-David Dalton
2016-02-16 23:13:56 -08:00
parent ce259221bd
commit ae51b52aa1
5 changed files with 53 additions and 49 deletions

View File

@@ -93,9 +93,10 @@ define(['./_Stack', './_arrayEach', './_assignValue', './_baseAssign', './_baseF
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.