mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-02 19:08:02 +00:00
Fixed bug in extendDeepCopy()
This commit is contained in:
@@ -35,8 +35,8 @@ exports.deepCopy = function(object) {
|
||||
exports.extendDeepCopy = function(object,extendedProperties) {
|
||||
var result = $tw.utils.deepCopy(object),t;
|
||||
for(t in extendedProperties) {
|
||||
if(object[t] !== undefined) {
|
||||
result[t] = $tw.utils.deepCopy(object[t]);
|
||||
if(extendedProperties[t] !== undefined) {
|
||||
result[t] = $tw.utils.deepCopy(extendedProperties[t]);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user