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:
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
|
Creates a new instance of the wiki text processor with the specified options. The
|
||||||
options are a hashmap of mandatory members as follows:
|
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:
|
Planned:
|
||||||
|
|
||||||
@ -24,6 +24,8 @@ Planned:
|
|||||||
extraMacros: An array of additional macro handlers to add
|
extraMacros: An array of additional macro handlers to add
|
||||||
*/
|
*/
|
||||||
var WikiTextProcessor = function(options) {
|
var WikiTextProcessor = function(options) {
|
||||||
|
options = options || {};
|
||||||
|
this.store = options.store;
|
||||||
this.rules = WikiTextRules.rules;
|
this.rules = WikiTextRules.rules;
|
||||||
var pattern = [];
|
var pattern = [];
|
||||||
for(var n=0; n<this.rules.length; n++) {
|
for(var n=0; n<this.rules.length; n++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user