OLD | NEW |
1 <!-- | 1 <!-- |
2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | 2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. |
3 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | 3 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
5 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | 5 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
6 Code distributed by Google as part of the polymer project is also | 6 Code distributed by Google as part of the polymer project is also |
7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | 7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
8 --> | 8 --> |
9 <!-- | 9 <!-- |
10 | 10 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 // static | 136 // static |
137 g: CoreStyle.g, | 137 g: CoreStyle.g, |
138 refMap: CoreStyle.refMap, | 138 refMap: CoreStyle.refMap, |
139 | 139 |
140 /** | 140 /** |
141 * The `list` is a map of all `core-style` producers stored by `id`. It | 141 * The `list` is a map of all `core-style` producers stored by `id`. It |
142 * should be considered readonly. It's useful for nesting one `core-style` | 142 * should be considered readonly. It's useful for nesting one `core-style` |
143 * inside another. | 143 * inside another. |
144 * | 144 * |
145 * @attribute list | 145 * @attribute list |
146 * @type object (readonly) | 146 * @type object |
147 * @default {map of all `core-style` producers} | 147 * @default {map of all `core-style` producers} |
148 */ | 148 */ |
149 list: CoreStyle.list, | 149 list: CoreStyle.list, |
150 | 150 |
151 // if we have an id, we provide style | 151 // if we have an id, we provide style |
152 // if we have a ref, we consume/require style | 152 // if we have a ref, we consume/require style |
153 ready: function() { | 153 ready: function() { |
154 if (this.id) { | 154 if (this.id) { |
155 this.provide(); | 155 this.provide(); |
156 } else { | 156 } else { |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 b: parseInt(result[3], 16) | 378 b: parseInt(result[3], 16) |
379 } : null; | 379 } : null; |
380 } | 380 } |
381 | 381 |
382 }); | 382 }); |
383 | 383 |
384 | 384 |
385 })(); | 385 })(); |
386 </script> | 386 </script> |
387 </polymer-element> | 387 </polymer-element> |
OLD | NEW |