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)); |
-} |