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

Unified Diff: sky/examples/stocks2/lib/stock_data.dart

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/stocks/lib/stock_data.dart ('k') | sky/sdk/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/stocks2/lib/stock_data.dart
diff --git a/sky/examples/stocks2/lib/stock_data.dart b/sky/examples/stocks2/lib/stock_data.dart
index d69f44275a8106e40c87aafdd23d654fc223f592..a77ca50a678c4c1b7196cf767e7d792d64aab008 100644
--- a/sky/examples/stocks2/lib/stock_data.dart
+++ b/sky/examples/stocks2/lib/stock_data.dart
@@ -59,7 +59,7 @@ class StockDataFetcher {
}
void _fetchNextChunk() {
- fetch('../data/stock_data_${_currentChunk++}.json').then((Response response) {
+ fetchBody('../data/stock_data_${_currentChunk++}.json').then((Response response) {
String json = response.bodyAsString();
JsonDecoder decoder = new JsonDecoder();
« no previous file with comments | « sky/examples/stocks/lib/stock_data.dart ('k') | sky/sdk/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698