Riven/riven/srcgen/node_modules/dot/examples/views/two.dot.jst

18 lines
335 B
Plaintext
Raw Normal View History

/* Including multidef file */
{{#def.multidef}}
<div class="{{=it.class}}">
/* Including one.def file */
{{#def.one}}
/* Using sub-define from multidef */
{{#def.template2:{bar:"hello", class:"hidden"} }}
/* Using sub-define from multidef */
{{ var data = {bar:"world", class:"visible"}; }}
{{#def.template2:data}}
</div>