Closed GoogleCodeExporter closed 8 years ago
Syntax and examples for the new var tag:
<var name="title" value="data.alias"/>
<var name="count" value="0"/>
<var name="fixed" value="'string'"/>
The value in the name attribute will become the variables name, and the value
will be
set as the value of the variable directly (not in quotes), therefore strings
*must*
be escaped as shown.
<var name="" value="stuff"/>
is invalid syntax and as a result is not replaced/processed when it is found.
Original comment by mcbain....@gmail.com
on 24 Jun 2008 at 3:50
I figured that a diff would be more useful than the whole file. First time using
WinMerge, so I hope this is okay.
Original comment by mcbain....@gmail.com
on 24 Jun 2008 at 11:44
Attachments:
I'm accepting the "compact" option to JSDOC.JsPlate.prototype.process but I
don't think the var tag is necessary:
it can already be accomplished more flexibly like so:
{! var x = new Date(); !}
Original comment by micmath
on 10 Jan 2009 at 12:04
Committed in revision 758.
Original comment by micmath
on 10 Jan 2009 at 12:23
Original issue reported on code.google.com by
mcbain....@gmail.com
on 24 Jun 2008 at 5:39Attachments: