I play with Google Closure Templates
and I can’t successfully compile some templates because it seems that the logical operators and "and or cannot be used inside the if tag (I tried both" & "and" and "and" || "and" or ") ... how can I write" complex "expressions, for example {if condition1 && condition2}:?
EDIT:
The following simple statement throws an exception:
{if 5> 2 && 2 == 2}
"Not all code is in Soy V2 syntax (the found tag {if 5> 2 & 2 == 2} is not in Soy V2 syntax)
source
share