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

Side by Side Diff: client/web/method.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/main.dart ('k') | client/web/minimap-class.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="category.html"> 2 <link rel="import" href="category.html">
3 <link rel="import" href="comment.html"> 3 <link rel="import" href="comment.html">
4 <link rel="import" href="item.html"> 4 <link rel="import" href="item.html">
5 <link rel="import" href="link.html"> 5 <link rel="import" href="link.html">
6 <link rel="import" href="parameters.html"> 6 <link rel="import" href="parameters.html">
7 <link rel="import" href="type.html"> 7 <link rel="import" href="type.html">
8 8
9 <polymer-element name="dartdoc-method"> 9 <polymer-element name="dartdoc-method">
10 <template> 10 <template>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 <div class="panel-heading"> 52 <div class="panel-heading">
53 <dartdoc-annotation annotations="{{item.annotations}}"> 53 <dartdoc-annotation annotations="{{item.annotations}}">
54 </dartdoc-annotation> 54 </dartdoc-annotation>
55 <!-- Return Type --> 55 <!-- Return Type -->
56 <p> 56 <p>
57 <span> 57 <span>
58 {{modifiers}} 58 {{modifiers}}
59 <template if="{{isNotConstructor}}"> 59 <template if="{{isNotConstructor}}">
60 <dartdoc-type type="{{item.type}}"></dartdoc-type> 60 <dartdoc-type type="{{item.type}}"></dartdoc-type>
61 </template> 61 </template>
62 <b><a id="{{idName}}" href="#{{item.anchorHref}}"> 62 <b><a id="{{idName}}" href="{{item.prefixedAnchorHref}}">
63 {{item.decoratedName}}</a></b> 63 {{item.decoratedName}}</a></b>
64 <dartdoc-parameter parameters="{{item.parameters}}"> 64 <dartdoc-parameter parameters="{{item.parameters}}">
65 </dartdoc-parameter> 65 </dartdoc-parameter>
66 </span> 66 </span>
67 </p> 67 </p>
68 </div> 68 </div>
69 69
70 <p class="text-right"><dfn> 70 <p class="text-right"><dfn>
71 <template if="{{isInherited}}"> 71 <template if="{{isInherited}}">
72 Inherited from 72 Inherited from
73 <dartdoc-link type="{{inheritedFrom}}"></dartdoc-link> 73 <dartdoc-link type="{{inheritedFrom}}"></dartdoc-link>
74 </template> 74 </template>
75 </dfn></p> 75 </dfn></p>
76 76
77 <!-- Comment --> 77 <!-- Comment -->
78 <template if="{{shouldShowComment}}"> 78 <template if="{{shouldShowComment}}">
79 <div is="dartdoc-comment" item="{{item}}"></div> 79 <div is="dartdoc-comment" item="{{item}}"></div>
80 </template> 80 </template>
81 81
82 <p class="text-right"><dfn> 82 <p class="text-right"><dfn>
83 <template if="{{shouldShowCommentFrom}}"> 83 <template if="{{shouldShowCommentFrom}}">
84 Comment inherited from 84 Comment inherited from
85 <dartdoc-link type="{{commentFrom}}"></dartdoc-link> 85 <dartdoc-link type="{{commentFrom}}"></dartdoc-link>
86 </template> 86 </template>
87 </dfn></p> 87 </dfn></p>
88 </template> 88 </template>
89 </polymer-element> 89 </polymer-element>
90 90
91 <script type="application/dart" src="method.dart"></script> 91 <script type="application/dart" src="method.dart"></script>
OLDNEW
« no previous file with comments | « client/web/main.dart ('k') | client/web/minimap-class.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698