marko/test/autotests/render/simple/template.marko
Patrick Steele-Idem bc384549f6 Updated tests
2017-02-21 17:16:53 -07:00

18 lines
308 B
Plaintext

$ {
var rootClass=input.rootClass,
colors=input.colors,
message=input.message;
}
<div class="hello-world ${rootClass}">
${message}
</div>
<ul if(colors && colors.length)>
<li class="color" for(color in colors)>
${color}
</li>
</ul>
<div else>
No colors!
</div>