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

Side by Side Diff: client/web/typedef.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/typedef.dart ('k') | client/web/variable-heading.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 <link rel="import" href="annotations.html"> 1 <link rel="import" href="annotations.html">
2 <link rel="import" href="comment.html"> 2 <link rel="import" href="comment.html">
3 <link rel="import" href="parameters.html"> 3 <link rel="import" href="parameters.html">
4 4
5 <polymer-element name="dartdoc-typedef" attributes="item"> 5 <polymer-element name="dartdoc-typedef" attributes="item">
6 <template> 6 <template>
7 <div class="page-header"><h1>{{item.name}} typedef</h1></div> 7 <div class="page-header"><h1>{{item.name}} typedef</h1></div>
8 8
9 <!-- Signature --> 9 <!-- Signature -->
10 <div class="panel-heading"> 10 <div class="panel-heading">
11 <dartdoc-annotation annotations="{{item.annotations}}"> 11 <dartdoc-annotation annotations="{{item.annotations}}">
12 </dartdoc-annotation> 12 </dartdoc-annotation>
13 13
14 <p class="panel-title">typedef 14 <p class="panel-title">typedef
15 <a href="#{{item.type.location}}">{{item.type.simpleType}}</a> 15 <a href="{{prefixedLocation}}">{{item.type.simpleType}}</a>
16 {{item.name}} 16 {{item.name}}
17 <dartdoc-parameter parameters="{{item.parameters}}"></dartdoc-parameter> 17 <dartdoc-parameter parameters="{{item.parameters}}"></dartdoc-parameter>
18 </p> 18 </p>
19 </div> 19 </div>
20 20
21 <!-- Comment --> 21 <!-- Comment -->
22 <div is="dartdoc-comment" item="{{item}}"></div> 22 <div is="dartdoc-comment" item="{{item}}"></div>
23 </template> 23 </template>
24 24
25 <script type="application/dart" src="typedef.dart"></script> 25 <script type="application/dart" src="typedef.dart"></script>
26 </polymer-element> 26 </polymer-element>
OLDNEW
« no previous file with comments | « client/web/typedef.dart ('k') | client/web/variable-heading.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698