1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Some mixups missed from previous commit

This commit is contained in:
Jeremy Ruston 2011-12-28 17:45:58 +00:00
parent e02a484591
commit e27d5392a1

View File

@ -14,7 +14,7 @@ var WikiTextRules = require("./WikiTextRules.js"),
Creates a new instance of the wiki text processor with the specified options. The
options are a hashmap of mandatory members as follows:
textProcessors: The TextProcessors object to use to parse any cascaded content (eg transclusion)
store: The store object to use to parse any cascaded content (eg transclusion)
Planned:
@ -24,6 +24,8 @@ Planned:
extraMacros: An array of additional macro handlers to add
*/
var WikiTextProcessor = function(options) {
options = options || {};
this.store = options.store;
this.rules = WikiTextRules.rules;
var pattern = [];
for(var n=0; n<this.rules.length; n++) {