Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(688)

Side by Side Diff: sky/sdk/README.md

Issue 1105113004: Fix grammar in sky/sdk/README.md (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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.
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698