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

Unified Diff: client/web/item.html

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/item.html
diff --git a/client/web/item.html b/client/web/item.html
index f79b661a3416823729ef06f189f630c930b003d9..ff40bda607b1b365702c4f1f16e4f5cebe7286b3 100644
--- a/client/web/item.html
+++ b/client/web/item.html
@@ -5,7 +5,8 @@
<template>
<ul class="nav nav-pills nav-stacked">
<li id="nameGoesHere">
- <a href="#{{item.linkHref}}" id="{{idName}}">{{item.decoratedName}}</a>
+ <a href="{{item.prefixedLinkHref}}" id="{{idName}}">
+ {{item.decoratedName}}</a>
<template if="{{item.previewComment}}">
<hr><div is="dartdoc-comment" preview item="{{item}}"></div>
</template>

Powered by Google App Engine
This is Rietveld 408576698