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

Unified Diff: utils/apidoc/mdn/util.dart

Issue 11412033: Rename File.readAsText to File.readAsString. There is no Text type in Dart (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 | « utils/apidoc/mdn/prettyPrint.dart ('k') | utils/pub/io.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/apidoc/mdn/util.dart
diff --git a/utils/apidoc/mdn/util.dart b/utils/apidoc/mdn/util.dart
index 3b5c72d95882a87cff8185cde7211f3316d4a884..69a4c6ca2d0729ca5b0c82a8bf3a9f6976f62629 100644
--- a/utils/apidoc/mdn/util.dart
+++ b/utils/apidoc/mdn/util.dart
@@ -9,7 +9,7 @@ Map<String, Map> get allProps {
if (_allProps == null) {
// Database of expected property names for each type in WebKit.
_allProps = JSON.parse(
- new File('data/dartIdl.json').readAsTextSync());
+ new File('data/dartIdl.json').readAsStringSync());
}
return _allProps;
}
« no previous file with comments | « utils/apidoc/mdn/prettyPrint.dart ('k') | utils/pub/io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698