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

Unified Diff: utils/apidoc/mdn/postProcess.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 | « utils/apidoc/mdn/extract.dart ('k') | utils/apidoc/mdn/prettyPrint.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/apidoc/mdn/postProcess.dart
diff --git a/utils/apidoc/mdn/postProcess.dart b/utils/apidoc/mdn/postProcess.dart
index d70cf7425889fb6e54d4d159a128bb04c8846a36..801e7d1c56f4b8fa690dd6f44bb29ee9fdba11e2 100644
--- a/utils/apidoc/mdn/postProcess.dart
+++ b/utils/apidoc/mdn/postProcess.dart
@@ -7,12 +7,12 @@
library postProcess;
import 'dart:io';
-import 'dart:json';
+import 'dart:json' as json;
import 'util.dart';
void main() {
// Database of code documentation.
- Map<String, List> database = JSON.parse(
+ Map<String, List> database = json.parse(
new File('output/database.json').readAsStringSync());
final filteredDb = {};
final obsolete = [];
@@ -33,6 +33,6 @@ void main() {
}
}
}
- writeFileSync("output/database.filtered.json", JSON.stringify(filteredDb));
- writeFileSync("output/obsolete.json", JSON.stringify(obsolete));
+ writeFileSync("output/database.filtered.json", json.stringify(filteredDb));
+ writeFileSync("output/obsolete.json", json.stringify(obsolete));
}
« no previous file with comments | « utils/apidoc/mdn/extract.dart ('k') | utils/apidoc/mdn/prettyPrint.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698