1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-06-20 15:34:08 +00:00

Removed obsolete context handling in wikitext parse trees

This commit is contained in:
Jeremy Ruston 2012-01-07 21:54:00 +00:00
parent 44ef159243
commit b959c6ea22

View File

@ -175,9 +175,6 @@ WikiTextParseTree.prototype.compileSubTreeHtml = function(tree) {
case "img": case "img":
this.compileElementHtml(tree[t],{selfClosing: true}); // Self closing elements this.compileElementHtml(tree[t],{selfClosing: true}); // Self closing elements
break; break;
case "context":
//compileSubTree(tree[t].children);
break;
case "macro": case "macro":
this.compileMacroCall("text/html",tree[t].name,tree[t].params); this.compileMacroCall("text/html",tree[t].name,tree[t].params);
break; break;
@ -230,9 +227,6 @@ WikiTextParseTree.prototype.compileSubTreePlain = function(tree) {
case "img": case "img":
this.compileElementPlain(tree[t],{selfClosing: true}); // Self closing elements this.compileElementPlain(tree[t],{selfClosing: true}); // Self closing elements
break; break;
case "context":
//compileSubTree(tree[t].children);
break;
case "macro": case "macro":
this.compileMacroCall("text/plain",tree[t].name,tree[t].params); this.compileMacroCall("text/plain",tree[t].name,tree[t].params);
break; break;