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

Unified Diff: utils/dartdoc/client-static.dart

Issue 9256002: Add a mode to dartdoc to generate the navigation on the client. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Respond to review. Created 8 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/dartdoc/client-shared.dart ('k') | utils/dartdoc/dartdoc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/dartdoc/client-static.dart
diff --git a/utils/dartdoc/client-static.dart b/utils/dartdoc/client-static.dart
new file mode 100644
index 0000000000000000000000000000000000000000..d2f61d163f04e9a981aac3e4042ac220f0de1594
--- /dev/null
+++ b/utils/dartdoc/client-static.dart
@@ -0,0 +1,18 @@
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+/** Provides client-side behavior for generated docs using the static mode. */
+#library('client-static');
+
+#import('dart:html');
+#import('../../frog/lang.dart', prefix: 'frog');
+#import('classify.dart');
+
+#source('client-shared.dart');
+
+main() {
+ window.on.contentLoaded.add((e) {
+ enableCodeBlocks();
+ });
+}
« no previous file with comments | « utils/dartdoc/client-shared.dart ('k') | utils/dartdoc/dartdoc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698