From 09538aed91d6a3946c117bed2a95374df9921553 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Thu, 5 Mar 2015 09:56:51 -0800 Subject: [PATCH] stocks and stocks-fn should share the stocks data Previously, the two versions of this sample app had separate copies of the stock data. This CL moves the common data to the common data directory so that they can share. Also, I've switched the data files to be |dart| files rather than |sky| files to make them easier to use from fn examples. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/980953002 --- examples/data/{cities.sky => cities.dart} | 5 +- .../companylist.sky => data/stocks.dart} | 7 +- examples/scrolling/scrolling.sky | 2 +- examples/stocks-fn/companylist.dart | 3015 ----------------- examples/stocks-fn/stocksapp.dart | 2 +- examples/stocks/stocks.sky | 2 +- 6 files changed, 8 insertions(+), 3025 deletions(-) rename examples/data/{cities.sky => cities.dart} (99%) rename examples/{stocks/companylist.sky => data/stocks.dart} (99%) delete mode 100644 examples/stocks-fn/companylist.dart diff --git a/examples/data/cities.sky b/examples/data/cities.dart similarity index 99% rename from examples/data/cities.sky rename to examples/data/cities.dart index f1bf499c18..f63b7fc2df 100644 --- a/examples/data/cities.sky +++ b/examples/data/cities.dart @@ -1,9 +1,7 @@ - - diff --git a/examples/stocks/companylist.sky b/examples/data/stocks.dart similarity index 99% rename from examples/stocks/companylist.sky rename to examples/data/stocks.dart index 998344b987..105d89df53 100644 --- a/examples/stocks/companylist.sky +++ b/examples/data/stocks.dart @@ -1,4 +1,7 @@ - diff --git a/examples/scrolling/scrolling.sky b/examples/scrolling/scrolling.sky index 4220b02592..3442d7a442 100644 --- a/examples/scrolling/scrolling.sky +++ b/examples/scrolling/scrolling.sky @@ -5,7 +5,6 @@ --> -