Updated test for marko

This commit is contained in:
Patrick Steele-Idem 2016-04-28 23:23:41 -06:00
parent 2872e581ce
commit a17b73cf40
2 changed files with 9 additions and 13 deletions

View File

@ -1,8 +1,6 @@
<if test="data.items">
<for each="item in data.items">
<div>${item.name}</div>
</for>
<if(data.items)>
<for(item in data.items)>
<div>${item.name}</div>
</for>
</if>
<else>
content
</else>
<else>content</else>

View File

@ -1,8 +1,6 @@
<if test="data.items">
<for each="item in data.items">
<div>${item.name}</div>
<if(data.items)>
<for(item in data.items)>
<div>${item.name}</div>
</for>
</if>
<else>
content
</else>
<else>content</else>