File: two.dot.jst

package info (click to toggle)
node-dot 1.1.3%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 328 kB
  • sloc: javascript: 1,285; sh: 7; makefile: 5
file content (17 lines) | stat: -rw-r--r-- 335 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* 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>