Admitting my novice status with javascript, I have a problem with a
javascript macro I've been working on and I hope one of our more expert
users can tell me what I'm doing wrong at a glance. I've loaded my wiki at
http://marathoning.tiddlyspot.com/.
I'm trying to pass three parameters, mdate, a and offset, to the script
"lastweek" using the command <$macrocall $name="lastweek" offset=3
mdate={{!!marathondate}} a={{!!d2}} />. At this stage, the macro echoes
back the inputs which results in:
Inputs: offset = 6 a= 1 mdate=1/12/2015
The values for a and mdate are correct but offset is not the right number.
As you can see from the code, offset is used but not modified. Even so, the
number that comes out of the routine is not the number I put in. I'm not
good enough to know if the problem is in the Javascript, how I've done the
macro or if it is in the $macrocall.
Can someone tell me what I'm doing wrong?
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.