1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-24 22:33:16 +00:00

Remove inadvertant usage of Object.assign

In order to retain compatibiltiy with IE11

See this discussion: https://groups.google.com/d/topic/tiddlywiki/RjA7_mee5oc/discussion
This commit is contained in:
Jermolene 2018-09-21 10:56:01 +01:00
parent f98b4d5956
commit 7368cc74e1

View File

@ -1154,7 +1154,7 @@ exports.readFiles = function(files,options) {
}
};
for(var f=0; f<files.length; f++) {
this.readFile(files[f],Object.assign({},options,{callback: readFileCallback}));
this.readFile(files[f],$tw.utils.extend({},options,{callback: readFileCallback}));
}
return files.length;
};