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

Unified Diff: sky/sdk/README.md

Issue 1173703002: Move image loading out of C++ into Dart (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rename fetchMojo to fetchUrl Created 5 years, 6 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 | « sky/examples/stocks2/lib/stock_data.dart ('k') | sky/sdk/lib/framework/net/fetch.dart » ('j') | 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 987807a8deabdb04d477d39cca422b7de1ace8a0..39bacd510ef520f5318720fea2c1e5568ba6a46f 100644
--- a/sky/sdk/README.md
+++ b/sky/sdk/README.md
@@ -109,7 +109,7 @@ ergonomic interface:
import 'package:sky/framework/net/fetch.dart';
main() async {
- Response response = await fetch('example.txt');
+ Response response = await fetchBody('example.txt');
print(response.bodyAsString());
}
```
« no previous file with comments | « sky/examples/stocks2/lib/stock_data.dart ('k') | sky/sdk/lib/framework/net/fetch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698