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

Side by Side Diff: client/lib/components/typedef.html

Issue 273473002: Display function signatures instead of just "Function". (Closed) Base URL: https://github.com/dart-lang/dartdoc-viewer.git@master
Patch Set: Created 6 years, 7 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/lib/components/parameters.html ('k') | client/lib/item.dart » ('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>
8 7
9 <!-- Signature --> 8 <!-- Signature -->
10 <div class="panel-heading"> 9 <div class="panel-heading">
11 <dartdoc-annotation annotations="{{item.annotations}}"> 10 <dartdoc-annotation annotations="{{item.annotations}}">
12 </dartdoc-annotation> 11 </dartdoc-annotation>
13 12
13 <div class="page-header">
14 <b><a id="{{idName}}" href="{{item.prefixedAnchorHref}}">
15 {{item.name}}</a></b>
16 </div>
17
14 <p class="panel-title">typedef 18 <p class="panel-title">typedef
15 <a href="{{prefixedLocation}}">{{item.type.simpleType}}</a> 19 <a href="{{prefixedLocation}}">{{item.type.simpleType}}</a>
16 {{item.name}} 20 {{item.name}}
17 <dartdoc-parameter parameters="{{item.parameters}}"></dartdoc-parameter> 21 <dartdoc-parameter parameters="{{item.parameters}}"></dartdoc-parameter>
18 </p> 22 </p>
19 </div> 23 </div>
20 24
21 <!-- Comment --> 25 <!-- Comment -->
22 <div is="dartdoc-comment" item="{{item}}"></div> 26 <div is="dartdoc-comment" item="{{item}}"></div>
23 </template> 27 </template>
24 28
25 <script type="application/dart;component=1" src="typedef.dart"></script> 29 <script type="application/dart;component=1" src="typedef.dart"></script>
26 </polymer-element> 30 </polymer-element>
OLDNEW
« no previous file with comments | « client/lib/components/parameters.html ('k') | client/lib/item.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698