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