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

Unified Diff: intl/lib/src/file_data_reader.dart

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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 | « intl/lib/src/date_format_internal.dart ('k') | intl/lib/src/http_request_data_reader.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: intl/lib/src/file_data_reader.dart
diff --git a/intl/lib/src/file_data_reader.dart b/intl/lib/src/file_data_reader.dart
deleted file mode 100644
index 61c42e2a591677b03cd49bd1aec3814f19930559..0000000000000000000000000000000000000000
--- a/intl/lib/src/file_data_reader.dart
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-/**
- * This contains a reader that accesses data from local files, so it can't
- * be run in the browser.
- */
-
-library file_data_reader;
-
-import 'dart:async';
-import 'package:path/path.dart';
-import 'dart:io';
-import 'intl_helpers.dart';
-
-class FileDataReader implements LocaleDataReader {
-
- /// The base path from which we will read data.
- String path;
-
- FileDataReader(this.path);
-
- /// Read the locale data found for [locale] on our [path].
- Future read(String locale) {
- var file = new File(join(path, '$locale.json'));
- return file.readAsString();
- }
-}
« no previous file with comments | « intl/lib/src/date_format_internal.dart ('k') | intl/lib/src/http_request_data_reader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698