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

Side by Side 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, 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
OLDNEW
1 <link rel="import" href="comment.html"> 1 <link rel="import" href="comment.html">
2 <link rel="import" href="parameters.html"> 2 <link rel="import" href="parameters.html">
3 3
4 <polymer-element name="dartdoc-item"> 4 <polymer-element name="dartdoc-item">
5 <template> 5 <template>
6 <ul class="nav nav-pills nav-stacked"> 6 <ul class="nav nav-pills nav-stacked">
7 <li id="nameGoesHere"> 7 <li id="nameGoesHere">
8 <a href="#{{item.linkHref}}" id="{{idName}}">{{item.decoratedName}}</a> 8 <a href="{{item.prefixedLinkHref}}" id="{{idName}}">
9 {{item.decoratedName}}</a>
9 <template if="{{item.previewComment}}"> 10 <template if="{{item.previewComment}}">
10 <hr><div is="dartdoc-comment" preview item="{{item}}"></div> 11 <hr><div is="dartdoc-comment" preview item="{{item}}"></div>
11 </template> 12 </template>
12 </li> 13 </li>
13 </ul> 14 </ul>
14 </template> 15 </template>
15 <script type="application/dart" src="item.dart"></script> 16 <script type="application/dart" src="item.dart"></script>
16 </polymer-element> 17 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698