mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Some mixups missed from previous commit
This commit is contained in:
parent
e02a484591
commit
e27d5392a1
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user