mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-05-29 04:34:07 +00:00
Improve a couple of comments
This commit is contained in:
parent
82c0152e04
commit
07c1dcb685
@ -13,8 +13,8 @@ Adds tiddler filtering methods to the $tw.Wiki object.
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Parses an operation within a filter string
|
Parses an operation (i.e. a run) within a filter string
|
||||||
results: Array of array of operator nodes into which results should be inserted
|
operators: Array of array of operator nodes into which results should be inserted
|
||||||
filterString: filter string
|
filterString: filter string
|
||||||
p: start position within the string
|
p: start position within the string
|
||||||
Returns the new start position, after the parsed operation
|
Returns the new start position, after the parsed operation
|
||||||
@ -202,6 +202,7 @@ exports.compileFilter = function(filterString) {
|
|||||||
if(operator.variable) {
|
if(operator.variable) {
|
||||||
operand = widget.getVariable(operator.operand,{defaultValue: ""});
|
operand = widget.getVariable(operator.operand,{defaultValue: ""});
|
||||||
}
|
}
|
||||||
|
// Invoke the appropriate filteroperator module
|
||||||
results = operatorFunction(accumulator,{
|
results = operatorFunction(accumulator,{
|
||||||
operator: operator.operator,
|
operator: operator.operator,
|
||||||
operand: operand,
|
operand: operand,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user