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

Unified Diff: utils/dartdoc/dartdoc.dart

Issue 8548019: Add a script for determining which DOM methods correspond to which HTML methods. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use "Window" instead of "DOMWindow". Created 9 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 | « frog/member.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/dartdoc/dartdoc.dart
diff --git a/utils/dartdoc/dartdoc.dart b/utils/dartdoc/dartdoc.dart
index 6ed5d33e04476e8b3d258bd0a15b3b9e98e1a123..51027c0470fa056e3c081ebdde52eba7a8c4f823 100644
--- a/utils/dartdoc/dartdoc.dart
+++ b/utils/dartdoc/dartdoc.dart
@@ -51,7 +51,7 @@ void main() {
parseOptions('../../frog', [] /* args */, files);
final elapsed = time(() {
- _comments = <String, Map<int, String>>{};
+ initializeDartDoc();
initializeWorld(files);
@@ -81,6 +81,10 @@ void main() {
'$_totalMembers members in ${elapsed}msec.');
}
+void initializeDartDoc() {
+ _comments = <String, Map<int, String>>{};
+}
+
/** Copies the static file at 'static/file' to the output directory. */
copyStatic(String file) {
var contents = files.readAll(joinPaths('static', file));
« no previous file with comments | « frog/member.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698