| OLD | NEW |
| 1 #!mojo mojo:sky_viewer | 1 #!mojo mojo:sky_viewer |
| 2 <!-- | 2 <!-- |
| 3 // Copyright 2015 The Chromium Authors. All rights reserved. | 3 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 4 // Use of this source code is governed by a BSD-style license that can be | 4 // Use of this source code is governed by a BSD-style license that can be |
| 5 // found in the LICENSE file. | 5 // found in the LICENSE file. |
| 6 --> | 6 --> |
| 7 <sky> | 7 <sky> |
| 8 <style> | 8 <style> |
| 9 #chooser { | 9 #chooser { |
| 10 display: flex; | 10 display: flex; |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 print(ccsColor); | 87 print(ccsColor); |
| 88 } | 88 } |
| 89 | 89 |
| 90 void main() { | 90 void main() { |
| 91 elt("color-wheel").addEventListener("pointerdown", updateColor); | 91 elt("color-wheel").addEventListener("pointerdown", updateColor); |
| 92 elt("color-sample").addEventListener("pointerdown", selectColor); | 92 elt("color-sample").addEventListener("pointerdown", selectColor); |
| 93 elt("color-sample").style["background-color"] = "rgb(0, 209, 255)"; | 93 elt("color-sample").style["background-color"] = "rgb(0, 209, 255)"; |
| 94 } | 94 } |
| 95 </script> | 95 </script> |
| 96 </sky> | 96 </sky> |
| OLD | NEW |