mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-22 23:16:53 +00:00
Handle cascadeDefaults in macro parameters
This commit is contained in:
parent
6d96632bf6
commit
525fd3631e
@ -115,7 +115,7 @@ var parseMacroParams = function(w,name,paramString) {
|
||||
var macro = w.store.macros[name],
|
||||
params = {};
|
||||
if(macro) {
|
||||
var args = new ArgParser(paramString,{defaultName: "anon"}),
|
||||
var args = new ArgParser(paramString,{defaultName: "anon", cascadeDefaults: macro.cascadeDefaults}),
|
||||
insertParam = function(name,arg) {
|
||||
if(arg.evaluated) {
|
||||
params[name] = w.store.jsParser.createTree([
|
||||
|
Loading…
Reference in New Issue
Block a user