Is it possible to declare new variables within the jQuery template syntax? I\'m hoping to achieve the equivalent of this (which does not work):
{{var test =
I know this has already been answered and accepted, but here is another solution:
${( $data.localVariable = 'SOMETHING' ),''}
A jsFiddle example: http://jsfiddle.net/brettwp/PrfZ5/