Updated test for marko
This commit is contained in:
parent
2872e581ce
commit
a17b73cf40
|
@ -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>
|
||||
|
|
|
@ -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>
|
Loading…
Reference in New Issue