| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <!-- | 2 <!-- |
| 3 Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3 Copyright (c) 2012, 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 <!-- | 7 <!-- |
| 8 This component tests iteration in a component. | 8 This component tests iteration in a component. |
| 9 --> | 9 --> |
| 10 <html lang="en"> | 10 <html lang="en"> |
| 11 <body> | 11 <body> |
| 12 <element name="x-list" extends="div" constructor="ListExample"> | 12 <element name="x-list" extends="div" constructor="ListExample"> |
| 13 <template> | 13 <template> |
| 14 <template iterate="item in loopItemList"> | 14 <template iterate="item in loopItemList"> |
| 15 <span>{{item}}</span> | 15 <span>{{item}}</span> |
| 16 </template> | 16 </template> |
| 17 </template> | 17 </template> |
| 18 <script type='application/dart'> | 18 <script type='application/dart'> |
| 19 import 'common.dart'; | 19 import 'common.dart'; |
| 20 import 'package:web_components/web_components.dart'; | 20 import 'package:web_ui/web_ui.dart'; |
| 21 class ListExample extends WebComponent {} | 21 class ListExample extends WebComponent {} |
| 22 </script> | 22 </script> |
| 23 </element> | 23 </element> |
| 24 </body> | 24 </body> |
| 25 </html> | 25 </html> |
| 26 | 26 |
| OLD | NEW |