| OLD | NEW |
| 1 Sky | 1 Sky |
| 2 === | 2 === |
| 3 | 3 |
| 4 Sky is an experimental, high-performance UI framework for mobile apps. Sky helps | 4 Sky is an experimental, high-performance UI framework for mobile apps. Sky helps |
| 5 you create apps with beautiful user interfaces and high-quality interactive | 5 you create apps with beautiful user interfaces and high-quality interactive |
| 6 design that run smoothly at 120 Hz. | 6 design that run smoothly at 120 Hz. |
| 7 | 7 |
| 8 Sky consists of two components: | 8 Sky consists of two components: |
| 9 | 9 |
| 10 1. *The Sky engine.* The engine is the core of the system. Written in C++, the | 10 1. *The Sky engine.* The engine is the core of the system. Written in C++, the |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 name: your_app_name | 36 name: your_app_name |
| 37 dependencies: | 37 dependencies: |
| 38 sky: any | 38 sky: any |
| 39 ``` | 39 ``` |
| 40 | 40 |
| 41 Once the pubspec is in place, create a `lib` directory (where your dart code | 41 Once the pubspec is in place, create a `lib` directory (where your dart code |
| 42 will go) and run `pub get` to download all necessary dependencies and create | 42 will go) and run `pub get` to download all necessary dependencies and create |
| 43 the symlinks necessary for 'package:your_app_names/main.dart' includes to work. | 43 the symlinks necessary for 'package:your_app_names/main.dart' includes to work. |
| 44 | 44 |
| 45 Currently the Sky Engine assumes the entry point for your application is a | 45 Currently the Sky Engine assumes the entry point for your application is a |
| 46 `main` function is located inside a `main.sky` file at the root of the package. | 46 `main` function located inside a `main.sky` file at the root of the package. |
| 47 `.sky` is an html-like format: | 47 `.sky` is an html-like format: |
| 48 ``` | 48 ``` |
| 49 <sky> | 49 <sky> |
| 50 <script> | 50 <script> |
| 51 import 'package:your_app_name/main.dart' | 51 import 'package:your_app_name/main.dart' |
| 52 | 52 |
| 53 void main() { | 53 void main() { |
| 54 new HelloWorldApp(); | 54 new HelloWorldApp(); |
| 55 } | 55 } |
| 56 </script> | 56 </script> |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 [Keyboard](https://github.com/domokit/mojo/blob/master/mojo/services/keyboard/pu
blic/interfaces/keyboard.mojom) | 187 [Keyboard](https://github.com/domokit/mojo/blob/master/mojo/services/keyboard/pu
blic/interfaces/keyboard.mojom) |
| 188 service to allow Sky Framework Dart code to interface with the underlying | 188 service to allow Sky Framework Dart code to interface with the underlying |
| 189 platform's Keyboard, but also to expose any additional non-Dart business logic | 189 platform's Keyboard, but also to expose any additional non-Dart business logic |
| 190 to Sky/Dart UI code. | 190 to Sky/Dart UI code. |
| 191 | 191 |
| 192 As and example, [SkyApplication](https://github.com/domokit/mojo/blob/master/sky
/shell/org/domokit/sky/shell/SkyApplication.java) | 192 As and example, [SkyApplication](https://github.com/domokit/mojo/blob/master/sky
/shell/org/domokit/sky/shell/SkyApplication.java) |
| 193 exposes a mojo `network_service` (required by Sky Engine C++ code) | 193 exposes a mojo `network_service` (required by Sky Engine C++ code) |
| 194 [SkyDemoApplication](https://github.com/domokit/mojo/blob/master/sky/apk/demo/or
g/domokit/sky/demo/SkyDemoApplication.java) | 194 [SkyDemoApplication](https://github.com/domokit/mojo/blob/master/sky/apk/demo/or
g/domokit/sky/demo/SkyDemoApplication.java) |
| 195 additionally exposes `keyboard_service` and `sensor_service` for use by the Sky | 195 additionally exposes `keyboard_service` and `sensor_service` for use by the Sky |
| 196 Framework from Dart. | 196 Framework from Dart. |
| OLD | NEW |