1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-06-23 00:44:06 +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++) { 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; return files.length;
}; };