mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-07-04 02:52:52 +00:00
add "all" parameter to variables operator
This commit is contained in:
parent
c1aea65252
commit
b981232f74
@ -27,6 +27,8 @@ exports.variables = function(source,operator,options) {
|
|||||||
sort,
|
sort,
|
||||||
widget = options.widget,
|
widget = options.widget,
|
||||||
included = (operands[0].value) ? operands[0].value : "var fn proc macro widget";
|
included = (operands[0].value) ? operands[0].value : "var fn proc macro widget";
|
||||||
|
// all will overwrite
|
||||||
|
included = ((included.indexOf("all") !== -1)) ? "var fn proc macro widget" : included;
|
||||||
|
|
||||||
// variableTemplate = (operands.length > 1 && operands[1]) ? operands[1].value : "$type$ $name$($params$) $firstLine$";
|
// variableTemplate = (operands.length > 1 && operands[1]) ? operands[1].value : "$type$ $name$($params$) $firstLine$";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user