diff --git a/core/modules/startup.js b/core/modules/startup.js index 58c6eb480..5e9a81eee 100644 --- a/core/modules/startup.js +++ b/core/modules/startup.js @@ -26,8 +26,6 @@ exports.startup = function() { $tw.modules.applyMethods("tiddlermethod",$tw.Tiddler.prototype); $tw.modules.applyMethods("wikimethod",$tw.Wiki.prototype); $tw.modules.applyMethods("tiddlerdeserializer",$tw.Wiki.tiddlerDeserializerModules); - $tw.Wiki.tiddlerSerializerModules = {}; - $tw.modules.applyMethods("tiddlerserializer",$tw.Wiki.tiddlerSerializerModules); // Set up the wiki store $tw.wiki.initParsers(); $tw.wiki.initSyncers(); @@ -96,7 +94,6 @@ exports.startup = function() { var templateTitle = "$:/templates/PageTemplate", parser = $tw.wiki.parseTiddler(templateTitle), renderTree = new $tw.WikiRenderTree(parser,{wiki: $tw.wiki}); -console.log("Parse tree",parser); renderTree.execute({tiddlerTitle: templateTitle}); var container = document.createElement("div"); document.body.insertBefore(container,document.body.firstChild); diff --git a/core/modules/wiki.js b/core/modules/wiki.js index 661f507ce..a6ab1a1c7 100644 --- a/core/modules/wiki.js +++ b/core/modules/wiki.js @@ -165,18 +165,6 @@ exports.addTiddler = function(tiddler) { this.touchTiddler(title); }; -/* -Serialise tiddlers to a specified text serialization format -*/ -exports.serializeTiddlers = function(tiddlers,type) { - var serializer = $tw.Wiki.tiddlerSerializerModules[type]; - if(serializer) { - return serializer.call(this,tiddlers); - } else { - return null; - } -}; - /* Return a sorted array of tiddler titles, optionally filtered by a tag */