diff --git a/js/WikiStore.js b/js/WikiStore.js index 957d84aca..02bc40b32 100755 --- a/js/WikiStore.js +++ b/js/WikiStore.js @@ -189,7 +189,6 @@ WikiStore.prototype.listTiddlers = function(type,template,emptyMessage) { return "Listing!"; }; - /* argOptions: {defaultName:"type"}, @@ -255,7 +254,6 @@ WikiStore.prototype.listTiddlers = function(type,template,emptyMessage) { */ - WikiStore.prototype.parseText = function(type,text) { var processor = this.textProcessors[type]; if(!processor) { @@ -278,7 +276,9 @@ WikiStore.prototype.parseTiddler = function(title) { }; /* -Render a tiddler to a particular MIME type. Optionally render it with a different tiddler as the context. This option is used to render a tiddler through a template as store.renderTiddler("text/html",tiddler,template) +Render a tiddler to a particular MIME type. Optionally render it with a different tiddler +as the context. This option is used to render a tiddler through a template as +store.renderTiddler("text/html",templateTitle,tiddlerTitle) */ WikiStore.prototype.renderTiddler = function(type,title,asTitle) { var parser = this.parseTiddler(title), @@ -290,16 +290,6 @@ WikiStore.prototype.renderTiddler = function(type,title,asTitle) { } }; -WikiStore.prototype.compileTiddler = function(type,title,asTitle) { - var parser = this.parseTiddler(title), - asTitleExists = asTitle ? this.tiddlerExists(asTitle) : true; - if(parser && asTitleExists) { - return parser.compile(type,parser.children,this,asTitle ? asTitle : title); - } else { - return null; - } -}; - WikiStore.prototype.installMacros = function() { this.macros = { echo: {