OLD | NEW |
1 | 1 <style> |
2 <style> | |
3 .blue { border: 1px solid blue; } | 2 .blue { border: 1px solid blue; } |
4 .orange { border: 1px solid orange; } | 3 .orange { border: 1px solid orange; } |
5 .repeat { margin: 8px; } | 4 .repeat { margin: 8px; } |
6 </style> | 5 </style> |
7 <span style="color: red">10</span> | 6 <span style="color: red">10</span> |
8 <template repeat="{{ list }}"></template> | 7 <template repeat="{{ list }}"></template> |
9 <div class="blue repeat">first</div> | 8 <div class="blue repeat">first</div> |
10 | 9 <div class="orange repeat">second</div> |
11 <div class="orange repeat">second</div> | 10 <template if="{{ test }}"></template> |
12 | |
13 <template if="{{ test }}"></template> | |
14 Hello World | 11 Hello World |
15 | |
16 <template if="{{ testFalse }}"></template> | 12 <template if="{{ testFalse }}"></template> |
17 <template repeat="{{ nullInstances }}"></template> | 13 <template repeat="{{ nullInstances }}"></template> |
18 <div>10 test redblue test</div> | 14 <div>10 test redblue test</div> |
19 <a href="http://www.google.com/">http://www.google.com/</a> | 15 <a href="http://www.google.com/">http://www.google.com/</a> |
20 <span on-test-event="handleTestEvent"> | 16 <span on-test-event="handleTestEvent"> |
21 <span id="target">Test event handler: event dispatch success</span> | 17 <span id="target">Test event handler: event dispatch success</span> |
22 </span> | 18 </span> |
23 <div class="[[ className ]]">[[ url ]]</div> | 19 <div class="[[ className ]]">[[ url ]]</div> |
24 | 20 |
OLD | NEW |