| 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 <sky> | 6 <sky> |
| 7 <import src="/sky/framework/sky-element/sky-element.sky"/> | 7 <import src="/sky/framework/sky-element/sky-element.sky" as="SkyElement"/> |
| 8 <import src="/sky/framework/sky-button/sky-button.sky"/> | 8 <import src="/sky/framework/sky-button/sky-button.sky"/> |
| 9 <import src="/sky/framework/sky-box/sky-box.sky"/> | 9 <import src="/sky/framework/sky-box/sky-box.sky"/> |
| 10 <import src="/sky/framework/sky-checkbox/sky-checkbox.sky"/> | 10 <import src="/sky/framework/sky-checkbox/sky-checkbox.sky"/> |
| 11 <import src="/sky/framework/sky-radio/sky-radio.sky"/> | 11 <import src="/sky/framework/sky-radio/sky-radio.sky"/> |
| 12 <sky-element name="widget-root"> | 12 <sky-element name="widget-root"> |
| 13 <template> | 13 <template> |
| 14 <style> | 14 <style> |
| 15 div { display: paragraph; } | 15 div { display: paragraph; } |
| 16 </style> | 16 </style> |
| 17 | 17 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 47 attached() { | 47 attached() { |
| 48 this.myButton = this.shadowRoot.getElementById('button'); | 48 this.myButton = this.shadowRoot.getElementById('button'); |
| 49 this.myCheckbox = this.shadowRoot.getElementById('checkbox'); | 49 this.myCheckbox = this.shadowRoot.getElementById('checkbox'); |
| 50 } | 50 } |
| 51 }.register(); | 51 }.register(); |
| 52 </script> | 52 </script> |
| 53 </sky-element> | 53 </sky-element> |
| 54 | 54 |
| 55 <widget-root /> | 55 <widget-root /> |
| 56 </sky> | 56 </sky> |
| OLD | NEW |