OLD | NEW |
| 1 <!DOCTYPE html> |
1 <!-- | 2 <!-- |
2 @license | 3 @license |
3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | 4 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. |
4 This code may only be used under the BSD style license found at http://polym
er.github.io/LICENSE.txt | 5 This code may only be used under the BSD style license found at http://polym
er.github.io/LICENSE.txt |
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS
.txt | 6 The complete set of authors may be found at http://polymer.github.io/AUTHORS
.txt |
6 The complete set of contributors may be found at http://polymer.github.io/CO
NTRIBUTORS.txt | 7 The complete set of contributors may be found at http://polymer.github.io/CO
NTRIBUTORS.txt |
7 Code distributed by Google as part of the polymer project is also | 8 Code distributed by Google as part of the polymer project is also |
8 subject to an additional IP rights grant found at http://polymer.github.io/P
ATENTS.txt | 9 subject to an additional IP rights grant found at http://polymer.github.io/P
ATENTS.txt |
9 --> | 10 --> |
10 <!doctype html> | 11 <html lang="en"> |
11 <html> | |
12 <head> | 12 <head> |
| 13 <meta charset="UTF-8"> |
| 14 <title>Commented</title> |
13 </head> | 15 </head> |
| 16 <body> |
| 17 <!-- comment 1: comment element --> |
| 18 <polymer-element name="x-comment" attributes=""> |
14 | 19 |
15 <body> | 20 <template> |
| 21 <!-- comment 2: style for the host --> |
| 22 <style> |
| 23 /* comment 3: blue border is the best */ |
| 24 :host { |
| 25 border: 2px solid blue; |
| 26 } |
| 27 </style> |
16 | 28 |
17 <input type="radio"> | 29 </template> |
18 | 30 |
| 31 <!-- comment 4: script for registering --> |
| 32 <script> |
| 33 Polymer({ |
| 34 // comment 5: put some stuff here |
| 35 }); |
| 36 </script> |
| 37 |
| 38 </polymer-element> |
19 </body> | 39 </body> |
20 </html> | 40 </html> |
OLD | NEW |