| OLD | NEW |
| 1 Contributing | 1 Contributing |
| 2 ============ | 2 ============ |
| 3 | 3 |
| 4 [sky_sdk](https://github.com/domokit/sky_sdk) is generated from the | 4 [sky_sdk](https://github.com/domokit/sky_sdk) is generated from the |
| 5 [mojo repository](https://github.com/domokit/mojo) using | 5 [mojo repository](https://github.com/domokit/mojo) using |
| 6 [deploy_sdk.py](https://github.com/domokit/mojo/blob/master/sky/tools/deploy_sdk
.py) | 6 [deploy_sdk.py](https://github.com/domokit/mojo/blob/master/sky/tools/deploy_sdk
.py) |
| 7 Static files (including this README.md) are located under | 7 Static files (including this README.md) are located under |
| 8 [sky/sdk](https://github.com/domokit/mojo/tree/master/sky/sdk). Pull | 8 [sky/sdk](https://github.com/domokit/mojo/tree/master/sky/sdk). Pull |
| 9 requests and issue reports are glady accepted at the | 9 requests and issue reports are glady accepted at the |
| 10 [mojo repository](https://github.com/domokit/mojo)! | 10 [mojo repository](https://github.com/domokit/mojo)! |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 adding a [pubspec.yaml](https://www.dartlang.org/tools/pub/pubspec.html): | 43 adding a [pubspec.yaml](https://www.dartlang.org/tools/pub/pubspec.html): |
| 44 | 44 |
| 45 pubspec.yaml for your app: | 45 pubspec.yaml for your app: |
| 46 ```yaml | 46 ```yaml |
| 47 name: your_app_name | 47 name: your_app_name |
| 48 dependencies: | 48 dependencies: |
| 49 sky: any | 49 sky: any |
| 50 ``` | 50 ``` |
| 51 | 51 |
| 52 Once the pubspec is in place, create a `lib` directory (where your dart code | 52 Once the pubspec is in place, create a `lib` directory (where your dart code |
| 53 will go) and run `pub get` to download all necessary dependencies and create | 53 will go), ensure that the 'dart' and 'pub' executables are on your $PATH and |
| 54 the symlinks necessary for 'package:your_app_names/main.dart' includes to work. | 54 run the following: |
| 55 |
| 56 `pub get && pub run sky:init`. |
| 55 | 57 |
| 56 Currently the Sky Engine assumes the entry point for your application is a | 58 Currently the Sky Engine assumes the entry point for your application is a |
| 57 `main` function located inside a `main.sky` file at the root of the package. | 59 `main` function located inside a `main.sky` file at the root of the package. |
| 58 `.sky` is an html-like format: | 60 `.sky` is an html-like format: |
| 59 ``` | 61 ``` |
| 60 <sky> | 62 <sky> |
| 61 <script> | 63 <script> |
| 62 import 'package:your_app_name/main.dart'; | 64 import 'package:your_app_name/main.dart'; |
| 63 | 65 |
| 64 void main() { | 66 void main() { |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 [Keyboard](https://github.com/domokit/mojo/blob/master/mojo/services/keyboard/pu
blic/interfaces/keyboard.mojom) | 214 [Keyboard](https://github.com/domokit/mojo/blob/master/mojo/services/keyboard/pu
blic/interfaces/keyboard.mojom) |
| 213 service to allow Sky Framework Dart code to interface with the underlying | 215 service to allow Sky Framework Dart code to interface with the underlying |
| 214 platform's Keyboard, but also to expose any additional non-Dart business logic | 216 platform's Keyboard, but also to expose any additional non-Dart business logic |
| 215 to Sky/Dart UI code. | 217 to Sky/Dart UI code. |
| 216 | 218 |
| 217 As and example, [SkyApplication](https://github.com/domokit/mojo/blob/master/sky
/shell/org/domokit/sky/shell/SkyApplication.java) | 219 As and example, [SkyApplication](https://github.com/domokit/mojo/blob/master/sky
/shell/org/domokit/sky/shell/SkyApplication.java) |
| 218 exposes a mojo `network_service` (required by Sky Engine C++ code) | 220 exposes a mojo `network_service` (required by Sky Engine C++ code) |
| 219 [SkyDemoApplication](https://github.com/domokit/mojo/blob/master/sky/apk/demo/or
g/domokit/sky/demo/SkyDemoApplication.java) | 221 [SkyDemoApplication](https://github.com/domokit/mojo/blob/master/sky/apk/demo/or
g/domokit/sky/demo/SkyDemoApplication.java) |
| 220 additionally exposes `keyboard_service` and `sensor_service` for use by the Sky | 222 additionally exposes `keyboard_service` and `sensor_service` for use by the Sky |
| 221 Framework from Dart. | 223 Framework from Dart. |
| OLD | NEW |