OLD | NEW |
| (Empty) |
1 <!doctype html> | |
2 <!-- | |
3 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | |
4 for details. All rights reserved. Use of this source code is governed by a | |
5 BSD-style license that can be found in the LICENSE file. | |
6 --> | |
7 <html> | |
8 | |
9 <head> | |
10 <title>template distribute</title> | |
11 <link rel="import" href="packages/polymer/polymer.html"> | |
12 <script src="packages/unittest/test_controller.js"></script> | |
13 </head> | |
14 <body> | |
15 | |
16 <x-test></x-test> | |
17 | |
18 <polymer-element name="x-echo" noscript> | |
19 <template> | |
20 <div>Echoing:</div> | |
21 <content select="*"></content> | |
22 </template> | |
23 </polymer-element> | |
24 | |
25 <polymer-element name="x-test"> | |
26 <template> | |
27 <x-echo id="echo"> | |
28 <template repeat="{{list}}"> | |
29 <div>{{this['name']}}</div> | |
30 </template> | |
31 </x-echo> | |
32 </template> | |
33 </polymer-element> | |
34 | |
35 <script type="application/dart" src="template_distribute_dynamic_test.dart"> | |
36 </script> | |
37 </body> | |
38 </html> | |
OLD | NEW |