mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-22 14:00:03 +00:00
Fixed bug in extendDeepCopy()
This commit is contained in:
parent
ab4bdc0337
commit
575f49fd45
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user