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

Unified Diff: client/web/minimap-element.dart

Issue 149573008: Factor out the anchor prefix to easily allow switching to #! (Closed) Base URL: https://github.com/dart-lang/dartdoc-viewer.git@master
Patch Set: Accept the basic form (#) but allow the ajax form Created 6 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
Index: client/web/minimap-element.dart
diff --git a/client/web/minimap-element.dart b/client/web/minimap-element.dart
index 580f6a973da9f1a04635a5ba88ab763ae94a8271..cbb9f999f6d2be884767cbcc77cf65fe4a7083b6 100644
--- a/client/web/minimap-element.dart
+++ b/client/web/minimap-element.dart
@@ -37,7 +37,8 @@ class MinimapElement extends PolymerElement {
itemChanged() {
if (category == null || item == null) return;
- categoryLink = '#${item.linkHref}@${category.name.replaceAll(" ", "-")}';
+ categoryLink =
+ '${item.prefixedLinkHref}@${category.name.replaceAll(" ", "-")}';
}
categoryChanged() {

Powered by Google App Engine
This is Rietveld 408576698