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

Unified Diff: sky/sdk/example/stocks/lib/stock_data.dart

Issue 1219493003: Cleanup sky/sdk/examples (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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/sdk/example/stocks/lib/stock_arrow.dart ('k') | sky/sdk/example/stocks/lib/stock_home.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/example/stocks/lib/stock_data.dart
diff --git a/sky/sdk/example/stocks/lib/stock_data.dart b/sky/sdk/example/stocks/lib/stock_data.dart
index 39201714fcb37f7aebeff5f989e85a0ccdb50b09..075add267579eaf5a14c2ed254517dd96f3c3331 100644
--- a/sky/sdk/example/stocks/lib/stock_data.dart
+++ b/sky/sdk/example/stocks/lib/stock_data.dart
@@ -4,6 +4,7 @@
import 'dart:convert';
import 'dart:math';
+
import 'package:sky/framework/net/fetch.dart';
// Snapshot from http://www.nasdaq.com/screening/company-list.aspx
@@ -59,7 +60,7 @@ class StockDataFetcher {
}
void _fetchNextChunk() {
- fetchBody('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/sdk/example/stocks/lib/stock_arrow.dart ('k') | sky/sdk/example/stocks/lib/stock_home.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698