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

Unified Diff: tools/html_json_doc/lib/json_to_html.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | « tools/dom/templates/immutable_list_mixin.darttemplate ('k') | tools/testing/dart/test_options.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/html_json_doc/lib/json_to_html.dart
diff --git a/tools/html_json_doc/lib/json_to_html.dart b/tools/html_json_doc/lib/json_to_html.dart
index d25aa4d0b7e654254ef8e7cafbaa575ef98746be..391cd3c1d6d04be7e55d4c64c58f4850d68895ad 100644
--- a/tools/html_json_doc/lib/json_to_html.dart
+++ b/tools/html_json_doc/lib/json_to_html.dart
@@ -7,7 +7,7 @@
* the HTML files the comments are associated with.
*
* The format of the JSON file is:
- *
+ *
* {
* "$filename":
* {
@@ -22,9 +22,9 @@
*/
library json_to_html;
-import 'dart:json';
+import 'dart:json' as JSON;
import 'dart:io';
-
+import 'dart:async';
/// True if any errors were triggered through the conversion.
bool _anyErrors = false;
@@ -139,7 +139,7 @@ void _convertFile(File file, Map<String, List<String>> comments) {
'${new Path(file.fullPathSync()).filename}:\n"$key"');
_anyErrors = true;
});
-
+
// TODO(amouravski): file.writeAsStringSync('${Strings.join(fileLines, '\n')}\n');
var outputStream = file.openOutputStream();
outputStream.writeString(Strings.join(fileLines, '\n'));
« no previous file with comments | « tools/dom/templates/immutable_list_mixin.darttemplate ('k') | tools/testing/dart/test_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698