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

Unified Diff: sky/sdk/README.md

Issue 1091613002: Update README per recommendations from Seth: (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Updated per revieww Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/README.md
diff --git a/sky/sdk/README.md b/sky/sdk/README.md
index 4426c4d594bc8221a484d74dac2d026f2848dcf2..25a5ea7f2569613c73167cfacc33cab2f26b13d7 100644
--- a/sky/sdk/README.md
+++ b/sky/sdk/README.md
@@ -64,10 +64,9 @@ ergonomic interface:
```dart
import 'package:sky/framework/net/fetch.dart';
-void main() {
- fetch('example.txt').then((Response response) {
- print(response.bodyAsString());
- });
+main() async {
+ var response = await fetch('example.txt');
+ print(response.bodyAsString());
}
```
« 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