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

Side by Side Diff: runtime/observatory/lib/src/elements/library_view.html

Issue 1276013002: Improve display of library dependency information. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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 | « no previous file | no next file » | 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="../../../../packages/polymer/polymer.html"> 1 <link rel="import" href="../../../../packages/polymer/polymer.html">
2 <link rel="import" href="class_ref.html"> 2 <link rel="import" href="class_ref.html">
3 <link rel="import" href="curly_block.html"> 3 <link rel="import" href="curly_block.html">
4 <link rel="import" href="eval_box.html"> 4 <link rel="import" href="eval_box.html">
5 <link rel="import" href="field_ref.html"> 5 <link rel="import" href="field_ref.html">
6 <link rel="import" href="function_ref.html"> 6 <link rel="import" href="function_ref.html">
7 <link rel="import" href="instance_ref.html"> 7 <link rel="import" href="instance_ref.html">
8 <link rel="import" href="observatory_element.html"> 8 <link rel="import" href="observatory_element.html">
9 <link rel="import" href="library_ref.html"> 9 <link rel="import" href="library_ref.html">
10 <link rel="import" href="nav_bar.html"> 10 <link rel="import" href="nav_bar.html">
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 <hr> 52 <hr>
53 53
54 <div class="content"> 54 <div class="content">
55 <template if="{{ library.dependencies.isNotEmpty }}"> 55 <template if="{{ library.dependencies.isNotEmpty }}">
56 dependencies ({{ library.dependencies.length }}) 56 dependencies ({{ library.dependencies.length }})
57 <curly-block expand="{{ library.dependencies.length <= 8 }}"> 57 <curly-block expand="{{ library.dependencies.length <= 8 }}">
58 <div class="memberList"> 58 <div class="memberList">
59 <template repeat="{{ dep in library.dependencies }}"> 59 <template repeat="{{ dep in library.dependencies }}">
60 <div class="memberItem"> 60 <div class="memberItem">
61 <div class="memberValue"> 61 <div class="memberValue">
62 <library-ref ref="{{ dep.target }}"></library-ref> 62 <template if="{{ dep.isImport }}">
63 import <library-ref ref="{{ dep.target }}"></library-ref>
64 <template if="{{ dep.prefix != null }}">
65 as {{ dep.prefix.toString() }}
66 </template>
67 <template if="{{ dep.isDeferred }}">
68 deferred
69 </template>
70 </template>
71 <template if="{{ !dep.isImport }}">
72 export <library-ref ref="{{ dep.target }}"></library-ref>
73 </template>
63 </div> 74 </div>
64 </div> 75 </div>
65 </template> 76 </template>
66 </div> 77 </div>
67 </curly-block><br> 78 </curly-block><br>
68 <br> 79 <br>
69 </template> 80 </template>
70 81
71 <template if="{{ library.scripts.isNotEmpty }}"> 82 <template if="{{ library.scripts.isNotEmpty }}">
72 scripts ({{ library.scripts.length }}) 83 scripts ({{ library.scripts.length }})
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 </curly-block><br> 147 </curly-block><br>
137 <br> 148 <br>
138 </template> 149 </template>
139 </div> 150 </div>
140 151
141 <view-footer></view-footer> 152 <view-footer></view-footer>
142 </template> 153 </template>
143 </polymer-element> 154 </polymer-element>
144 155
145 <script type="application/dart" src="library_view.dart"></script> 156 <script type="application/dart" src="library_view.dart"></script>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698