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

Unified Diff: utils/apidoc/mdn/prettyPrint.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/postProcess.dart ('k') | utils/apidoc/mdn/util.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/apidoc/mdn/prettyPrint.dart
diff --git a/utils/apidoc/mdn/prettyPrint.dart b/utils/apidoc/mdn/prettyPrint.dart
index e95d23bf2985fe729d00777a1824e0e51f29cd95..d0a413cf849741e6939d32dca256f988c3f09e01 100644
--- a/utils/apidoc/mdn/prettyPrint.dart
+++ b/utils/apidoc/mdn/prettyPrint.dart
@@ -52,7 +52,7 @@ int addMissing(StringBuffer sb, String type, Map members) {
void main() {
// Database of code documentation.
final Map<String, Map> database = JSON.parse(
- new File('output/database.filtered.json').readAsTextSync());
+ new File('output/database.filtered.json').readAsStringSync());
// Types we have documentation for.
matchedTypes = new Set<String>();
« no previous file with comments | « utils/apidoc/mdn/postProcess.dart ('k') | utils/apidoc/mdn/util.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698