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

Unified Diff: pkg/dartdoc/lib/src/client/client-shared.dart

Issue 11045019: Change find-as-you-type shortcuts to Ctrl+3 and S. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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 | « pkg/dartdoc/lib/src/client/client-live-nav.dart ('k') | pkg/dartdoc/lib/src/client/client-static.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dartdoc/lib/src/client/client-shared.dart
diff --git a/pkg/dartdoc/lib/src/client/client-shared.dart b/pkg/dartdoc/lib/src/client/client-shared.dart
index 41ebe288d6c6635f0bb4116d18ae0ae398cf7abb..854b617ae4ffbe304ff8fab81fe4152fc1ddcfb0 100644
--- a/pkg/dartdoc/lib/src/client/client-shared.dart
+++ b/pkg/dartdoc/lib/src/client/client-shared.dart
@@ -11,6 +11,12 @@ String currentType = null;
// What we need to prefix relative URLs with to get them to work.
String prefix = '';
+void setup() {
+ setupLocation();
+ setupShortcuts();
+ enableCodeBlocks();
+}
+
void setupLocation() {
// Figure out where we are.
final body = document.query('body');
« no previous file with comments | « pkg/dartdoc/lib/src/client/client-live-nav.dart ('k') | pkg/dartdoc/lib/src/client/client-static.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698