OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | 3 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://polymer.g
ithub.io/LICENSE.txt | 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 5 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/CONTRI
BUTORS.txt | 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
7 Code distributed by Google as part of the polymer project is also | 7 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/PATEN
TS.txt | 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
9 --> | 9 --> |
10 <html> | 10 <html> |
11 <head> | 11 <head> |
12 <title>core-meta</title> | 12 <title>core-meta</title> |
13 | 13 |
14 <script src="../platform/platform.js"></script> | 14 <script src="../webcomponentsjs/webcomponents.js"></script> |
15 <link rel="import" href="core-meta.html"> | 15 <link rel="import" href="core-meta.html"> |
16 </head> | 16 </head> |
17 | 17 |
18 <body> | 18 <body> |
19 | 19 |
20 <core-meta id="x-foo" label="foo"></core-meta> | 20 <core-meta id="x-foo" label="foo"></core-meta> |
21 <core-meta id="x-bar" label="bar"></core-meta> | 21 <core-meta id="x-bar" label="bar"></core-meta> |
22 <core-meta id="x-zot" label="zot"></core-meta> | 22 <core-meta id="x-zot" label="zot"></core-meta> |
23 | 23 |
24 <core-meta id="apple" label="apple" type="fruit"></core-meta> | 24 <core-meta id="apple" label="apple" type="fruit"></core-meta> |
(...skipping 24 matching lines...) Expand all Loading... |
49 fruitMeta.type = 'fruit'; | 49 fruitMeta.type = 'fruit'; |
50 document.querySelector('template#fruit').model = { | 50 document.querySelector('template#fruit').model = { |
51 metadata: fruitMeta.list | 51 metadata: fruitMeta.list |
52 }; | 52 }; |
53 }); | 53 }); |
54 | 54 |
55 </script> | 55 </script> |
56 | 56 |
57 </body> | 57 </body> |
58 </html> | 58 </html> |
OLD | NEW |