OLD | NEW |
1 <!-- | 1 <!-- |
2 // Copyright 2014 The Chromium Authors. All rights reserved. | 2 // Copyright 2014 The Chromium Authors. All rights reserved. |
3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
5 --> | 5 --> |
6 <import src="../../framework/sky-element/sky-element.sky" as="SkyElement" /> | 6 <import src="../../framework/sky-element/sky-element.sky" as="SkyElement" /> |
7 <import src="city-data-service.sky" as="CityDataService" /> | 7 <import src="city-data-service.sky" as="CityDataService" /> |
8 <import src="city-sequence.sky" as="CitySequence" /> | 8 <import src="city-sequence.sky" as="CitySequence" /> |
9 | 9 |
10 <script> | |
11 // TODO(esprehn): exports should start as the empty object. | |
12 module.exports = {}; | |
13 </script> | |
14 | |
15 <sky-element name="state-header"> | 10 <sky-element name="state-header"> |
16 <template> | 11 <template> |
17 <style> | 12 <style> |
18 div { | 13 div { |
19 font-size: 16px; | 14 font-size: 16px; |
20 color: #FFF; | 15 color: #FFF; |
21 background-color: #333; | 16 background-color: #333; |
22 padding: 4px 4px 4px 12px; | 17 padding: 4px 4px 4px 12px; |
23 display: paragraph; | 18 display: paragraph; |
24 } | 19 } |
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 | 614 |
620 scrollBy(amount) { | 615 scrollBy(amount) { |
621 this.scrollerElement.scrollTop += amount; | 616 this.scrollerElement.scrollTop += amount; |
622 this.handleScroll({ target: this.scrollerElement }); | 617 this.handleScroll({ target: this.scrollerElement }); |
623 } | 618 } |
624 }.register(); | 619 }.register(); |
625 | 620 |
626 })(this); | 621 })(this); |
627 </script> | 622 </script> |
628 </sky-element> | 623 </sky-element> |
OLD | NEW |