mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 05:19:57 +00:00
Xlsx-utils: Fix crash when using deserializer
Fixes #5400 (broken in #4601)
This commit is contained in:
parent
b205da2007
commit
7be1e7e5f8
@ -20,7 +20,8 @@ exports["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"] = f
|
|||||||
var results = [],
|
var results = [],
|
||||||
XLSXImporter = require("$:/plugins/tiddlywiki/xlsx-utils/importer.js").XLSXImporter,
|
XLSXImporter = require("$:/plugins/tiddlywiki/xlsx-utils/importer.js").XLSXImporter,
|
||||||
importer = new XLSXImporter({
|
importer = new XLSXImporter({
|
||||||
text: text
|
text: text,
|
||||||
|
wiki: $tw.wiki
|
||||||
});
|
});
|
||||||
// Return the output tiddlers
|
// Return the output tiddlers
|
||||||
return importer.getResults();
|
return importer.getResults();
|
||||||
|
Loading…
Reference in New Issue
Block a user