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 <!--polymer-test: this comment is needed for test_suite.dart--> |
| 9 <head> |
| 10 <title>template distribute</title> |
| 11 <script src="packages/unittest/test_controller.js"></script> |
| 12 </head> |
| 13 <body> |
| 14 |
| 15 <x-test></x-test> |
| 16 |
| 17 <polymer-element name="x-echo" noscript> |
| 18 <template> |
| 19 <div>Echoing:</div> |
| 20 <content select="*"></content> |
| 21 </template> |
| 22 </polymer-element> |
| 23 |
| 24 <polymer-element name="x-test"> |
| 25 <template> |
| 26 <x-echo id="echo"> |
| 27 <template repeat="{{list}}"> |
| 28 <div>{{this['name']}}</div> |
| 29 </template> |
| 30 </x-echo> |
| 31 </template> |
| 32 </polymer-element> |
| 33 |
| 34 <script type="application/dart" src="template_distribute_dynamic_test.dart"> |
| 35 </script> |
| 36 </body> |
| 37 </html> |
OLD | NEW |