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

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

Issue 10164004: Remove frogsh. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 8 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
Index: dart/utils/apidoc/mdn/postProcess.dart
diff --git a/dart/utils/apidoc/mdn/postProcess.dart b/dart/utils/apidoc/mdn/postProcess.dart
deleted file mode 100644
index 4787ee8a4206e814fda7cb9f63d61f4c512a1582..0000000000000000000000000000000000000000
--- a/dart/utils/apidoc/mdn/postProcess.dart
+++ /dev/null
@@ -1,29 +0,0 @@
-#library("postProcess");
-
-#import("../../../frog/lib/node/node.dart");
-#import("dart:json");
-#import("util.dart");
-
-void main() {
- // Database of code documentation.
- Map<String, List> database = JSON.parse(
- fs.readFileSync('output/database.json', 'utf8'));
- final filteredDb = {};
- final obsolete = [];
- for (String type in database.getKeys()) {
- final entry = pickBestEntry(database[type], type);
- filteredDb[type] = entry;
- if (entry.containsKey("members")) {
- Map members = getMembersMap(entry);
- for (String name in members.getKeys()) {
- Map memberData = members[name];
- if (memberData['obsolete'] == true) {
- obsolete.add({'type': type, 'member' : name});
- }
- }
- }
- }
- fs.writeFileSync("output/database.filtered.json",
- JSON.stringify(filteredDb));
- fs.writeFileSync("output/obsolete.json", JSON.stringify(obsolete));
-}

Powered by Google App Engine
This is Rietveld 408576698