-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplating_tests.html
106 lines (85 loc) · 1.55 KB
/
templating_tests.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<template name="test_assembly_a0">
{{> test_assembly_a1}}
</template>
<template name="test_assembly_a1">
{{> test_assembly_a2}}
</template>
<template name="test_assembly_a2">
{{> test_assembly_a3}}
</template>
<template name="test_assembly_a3">
Hi
</template>
<template name="test_assembly_b0">
{{> test_assembly_b1}}
</template>
<template name="test_assembly_b1">
x{{#if stuff}}y{{/if}}{{> test_assembly_b2}}
</template>
<template name="test_assembly_b2">
hi
</template>
<template name="test_table_a0">
<table>
{{> test_table_a1}}
{{> test_table_a1}}
{{> test_table_a1}}
</table>
</template>
<template name="test_table_a1">
<tr>
{{> test_table_a2}}
</tr>
</template>
<template name="test_table_a2">
<td>
{{> test_table_a3}}
</td>
</template>
<template name="test_table_a3">
Foo.
</template>
<template name="test_table_b0">
<table>
<tbody>
{{> test_table_b1}}
{{> test_table_b1}}
{{> test_table_b1}}
</tbody>
</table>
</template>
<template name="test_table_b1">
<tr>
{{> test_table_b2}}
</tr>
</template>
<template name="test_table_b2">
<td>
{{> test_table_b3}}
</td>
</template>
<template name="test_table_b3">
Foo.
</template>
<template name="test_table_each">
<table>
{{#each foo}}
<tr><td>{{bar}}</td></tr>
{{/each}}
</table>
</template>
<template name="test_event_data_with">
<div>
xxx
{{#with TWO}}
<div>
xxx
{{#with THREE}}
<div>
xxx
</div>
{{/with}}
</div>
{{/with}}
</div>
</template>