Use this.wiki where applicable (#4601)

* Use state.wiki

* use local wiki where available

* fix a couple this vs self cases
This commit is contained in:
Arlen22
2020-05-06 06:27:50 -04:00
committed by GitHub
parent 48dfadd85b
commit 81f07cdf85
13 changed files with 25 additions and 22 deletions

View File

@@ -34,9 +34,10 @@ Command.prototype.execute = function() {
XLSXImporter = require("$:/plugins/tiddlywiki/xlsx-utils/importer.js").XLSXImporter,
importer = new XLSXImporter({
filename: filename,
importSpec: importSpec
importSpec: importSpec,
wiki: wiki
});
$tw.wiki.addTiddlers(importer.getResults());
wiki.addTiddlers(importer.getResults());
return null;
};