OLD | NEW |
(Empty) | |
| 1 <!-- |
| 2 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 3 for details. All rights reserved. Use of this source code is governed by a |
| 4 BSD-style license that can be found in the LICENSE file. |
| 5 --> |
| 6 <!doctype html> |
| 7 <html> |
| 8 |
| 9 <head> |
| 10 <title>template attribute test</title> |
| 11 <link rel="import" href="packages/polymer/polymer.html"> |
| 12 <script src="packages/unittest/test_controller.js"></script> |
| 13 <link rel="import" href="template_attr_template_test_import.html"> |
| 14 </head> |
| 15 <body unresolved> |
| 16 |
| 17 <polymer-element name="decoration-test2" extends="decoration-test"> |
| 18 <template> |
| 19 <table> |
| 20 <thead> |
| 21 <tr> |
| 22 <th>one</th> |
| 23 <th>two</th> |
| 24 <th>three</th> |
| 25 </tr> |
| 26 </thead> |
| 27 <tbody id="tbody"> |
| 28 <tr template repeat="{{ arr in arrs }}"> |
| 29 <td template repeat="{{ n in arr }}"> |
| 30 {{n}} |
| 31 </td> |
| 32 </tr> |
| 33 </tbody> |
| 34 </table> |
| 35 </template> |
| 36 </polymer-element> |
| 37 |
| 38 <decoration-test></decoration-test> |
| 39 <br> |
| 40 <decoration-test2></decoration-test2> |
| 41 |
| 42 <script type="application/dart" src="template_attr_template_test.dart"> |
| 43 </script> |
| 44 |
| 45 </body> |
| 46 </html> |
OLD | NEW |