Marko v3: Moved over test for <var> and <assign>

This commit is contained in:
Patrick Steele-Idem 2016-01-11 10:55:51 -07:00
parent 598199c08d
commit b3f0977c2e
4 changed files with 12 additions and 11 deletions

View File

@ -1,11 +0,0 @@
<var name="colors" value="['red', 'green', 'blue']"/>
<div for="color in colors">
$color
</div>
<assign var="colors" value="['orange', 'purple', 'yellow']"/>
<div for="color in colors">
$color
</div>

View File

@ -0,0 +1,12 @@
<var colors=['red', 'green', 'blue']/>
<div for(color in colors)>
${color}
</div>
<assign colors=['orange', 'purple', 'yellow']/>
<div for(color in colors)>
${color}
</div>