| 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 30 matching lines...) Expand all Loading... |
| 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 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> |
| 57 </sky> | 57 </sky> |
| 58 ``` | 58 ``` |
| 59 | 59 |
| 60 The rest of the application then goes inside the `lib` directory of the package | 60 The rest of the application then goes inside the `lib` directory of the package |
| 61 thus `lib/main.dart` would be: | 61 thus `lib/main.dart` would be: |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 [Keyboard](https://github.com/domokit/mojo/blob/master/mojo/services/keyboard/pu
blic/interfaces/keyboard.mojom) | 197 [Keyboard](https://github.com/domokit/mojo/blob/master/mojo/services/keyboard/pu
blic/interfaces/keyboard.mojom) |
| 198 service to allow Sky Framework Dart code to interface with the underlying | 198 service to allow Sky Framework Dart code to interface with the underlying |
| 199 platform's Keyboard, but also to expose any additional non-Dart business logic | 199 platform's Keyboard, but also to expose any additional non-Dart business logic |
| 200 to Sky/Dart UI code. | 200 to Sky/Dart UI code. |
| 201 | 201 |
| 202 As and example, [SkyApplication](https://github.com/domokit/mojo/blob/master/sky
/shell/org/domokit/sky/shell/SkyApplication.java) | 202 As and example, [SkyApplication](https://github.com/domokit/mojo/blob/master/sky
/shell/org/domokit/sky/shell/SkyApplication.java) |
| 203 exposes a mojo `network_service` (required by Sky Engine C++ code) | 203 exposes a mojo `network_service` (required by Sky Engine C++ code) |
| 204 [SkyDemoApplication](https://github.com/domokit/mojo/blob/master/sky/apk/demo/or
g/domokit/sky/demo/SkyDemoApplication.java) | 204 [SkyDemoApplication](https://github.com/domokit/mojo/blob/master/sky/apk/demo/or
g/domokit/sky/demo/SkyDemoApplication.java) |
| 205 additionally exposes `keyboard_service` and `sensor_service` for use by the Sky | 205 additionally exposes `keyboard_service` and `sensor_service` for use by the Sky |
| 206 Framework from Dart. | 206 Framework from Dart. |
| OLD | NEW |