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

Side by Side Diff: client/web/minimap-element.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: Fixes from review Created 6 years, 10 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 unified diff | Download patch
« no previous file with comments | « client/web/minimap-element.dart ('k') | client/web/minimap-library.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <polymer-element name="dartdoc-minimap"> 1 <polymer-element name="dartdoc-minimap">
2 <template> 2 <template>
3 <template if="{{itemsToShow.isNotEmpty}}"> 3 <template if="{{itemsToShow.isNotEmpty}}">
4 <li> 4 <li>
5 <a id="{{camelCaseName}}" href="{{categoryLink}}">{{category.name}}</a> 5 <a id="{{camelCaseName}}" href="{{categoryLink}}">{{category.name}}</a>
6 </li> 6 </li>
7 <ul class="minimap-sublist collapse in"> 7 <ul class="minimap-sublist collapse in">
8 <template repeat="{{itemsToShow}}"> 8 <template repeat="{{itemsToShow}}">
9 <li><a href="#{{anchorHref}}">{{decoratedName}}</a></li> 9 <li><a href="{{prefixedAnchorHref}}">{{decoratedName}}</a></li>
10 </template> 10 </template>
11 </ul> 11 </ul>
12 </template> 12 </template>
13 </template> 13 </template>
14 <script type="application/dart" src="minimap-element.dart"></script> 14 <script type="application/dart" src="minimap-element.dart"></script>
15 </polymer-element> 15 </polymer-element>
OLDNEW
« no previous file with comments | « client/web/minimap-element.dart ('k') | client/web/minimap-library.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698