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
This commit is contained in:
Adam Barth
2015-03-05 09:56:51 -08:00
parent 7b1f56d8b2
commit 09538aed91
6 changed files with 8 additions and 3025 deletions

View File

@@ -1,9 +1,7 @@
<!--
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-->
<script>
final List<Map> kData = [
{"name":"New York","state":"New York","population":8363710},
{"name":"Los Angeles","state":"California","population":3833995},
@@ -5005,4 +5003,3 @@ final List<Map> kData = [
{"name":"Hartwell","state":"Georgia","population":4298},
{"name":"Newport","state":"North Carolina","population":4298}
];
</script>

3018
examples/data/stocks.dart Normal file

File diff suppressed because it is too large Load Diff