1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-18 16:25:13 +00:00

Add quick switch for replacing old wikitext parser with the new

This commit is contained in:
Jeremy Ruston
2012-06-02 13:19:46 +01:00
parent 5276403e39
commit 7a62e6f1a4
4 changed files with 6 additions and 3 deletions

View File

@@ -180,6 +180,6 @@ WikiTextParser.prototype.parse = function(type,text) {
});
};
exports["text/x-tiddlywiki-new"] = WikiTextParser;
exports[$tw.useNewParser ? "text/x-tiddlywiki" : "text/x-tiddlywiki-new"] = WikiTextParser;
})();