Added support for macros that are dependent on all other tiddlers

This commit is contained in:
Jeremy Ruston
2012-01-06 21:08:15 +00:00
parent 82a83bd714
commit c716cdce20
2 changed files with 4 additions and 1 deletions

View File

@@ -114,7 +114,9 @@ var parseMacroCall = function(w,name,paramString) {
if(macro) {
var args = new ArgParser(paramString,{defaultName: "anon"}),
insertParam = function(param,name,arg) {
if(param.type === "tiddler") {
if(param.dependantAll) {
w.dependencies = null;
} else if(param.type === "tiddler") {
if(arg.evaluated) {
w.dependencies = null;
} else {