1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-23 10:44:50 +00:00

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

@@ -60,7 +60,7 @@ var WikiTextParser = function(type,text,options) {
this.output = null;
this.subWikify(this.children);
// prepend tw2 macros locally to the content
var parser = $tw.wiki.parseTiddler("$:/plugins/tiddlywiki/tw2parser/macrodefs",{parseAsInline:false});
var parser = this.wiki.parseTiddler("$:/plugins/tiddlywiki/tw2parser/macrodefs",{parseAsInline:false});
this.tree = [{
type: "element",
tag: "div",