| OLD | NEW |
| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 | 47 |
| 48 <div class="content"> | 48 <div class="content"> |
| 49 <eval-box callback="{{ evaluate }}"></eval-box> | 49 <eval-box callback="{{ evaluate }}"></eval-box> |
| 50 </div> | 50 </div> |
| 51 | 51 |
| 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="{{ false }}"> |
| 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 <template if="{{ dep.isImport }}"> | 62 <template if="{{ dep.isImport }}"> |
| 63 import <library-ref ref="{{ dep.target }}"></library-ref> | 63 import <library-ref ref="{{ dep.target }}"></library-ref> |
| 64 <template if="{{ dep.prefix != null }}"> | 64 <template if="{{ dep.prefix != null }}"> |
| 65 as {{ dep.prefix.toString() }} | 65 as {{ dep.prefix.toString() }} |
| 66 </template> | 66 </template> |
| 67 <template if="{{ dep.isDeferred }}"> | 67 <template if="{{ dep.isDeferred }}"> |
| 68 deferred | 68 deferred |
| 69 </template> | 69 </template> |
| 70 </template> | 70 </template> |
| 71 <template if="{{ !dep.isImport }}"> | 71 <template if="{{ !dep.isImport }}"> |
| 72 export <library-ref ref="{{ dep.target }}"></library-ref> | 72 export <library-ref ref="{{ dep.target }}"></library-ref> |
| 73 </template> | 73 </template> |
| 74 </div> | 74 </div> |
| 75 </div> | 75 </div> |
| 76 </template> | 76 </template> |
| 77 </div> | 77 </div> |
| 78 </curly-block><br> | 78 </curly-block><br> |
| 79 <br> | 79 <br> |
| 80 </template> | 80 </template> |
| 81 | 81 |
| 82 <template if="{{ library.scripts.isNotEmpty }}"> | 82 <template if="{{ library.scripts.isNotEmpty }}"> |
| 83 scripts ({{ library.scripts.length }}) | 83 scripts ({{ library.scripts.length }}) |
| 84 <curly-block expand="{{ library.scripts.length <= 8 }}"> | 84 <curly-block expand="{{ false }}"> |
| 85 <div class="memberList"> | 85 <div class="memberList"> |
| 86 <template repeat="{{ script in library.scripts }}"> | 86 <template repeat="{{ script in library.scripts }}"> |
| 87 <div class="memberItem"> | 87 <div class="memberItem"> |
| 88 <div class="memberValue"> | 88 <div class="memberValue"> |
| 89 <script-ref ref="{{ script }}"></script-ref> | 89 <script-ref ref="{{ script }}"></script-ref> |
| 90 </div> | 90 </div> |
| 91 </div> | 91 </div> |
| 92 </template> | 92 </template> |
| 93 </div> | 93 </div> |
| 94 </curly-block><br> | 94 </curly-block><br> |
| 95 <br> | 95 <br> |
| 96 </template> | 96 </template> |
| 97 | 97 |
| 98 <template if="{{ library.classes.isNotEmpty }}"> | 98 <template if="{{ library.classes.isNotEmpty }}"> |
| 99 classes ({{ library.classes.length }}) | 99 classes ({{ library.classes.length }}) |
| 100 <curly-block expand="{{ library.classes.length <= 8 }}"> | 100 <curly-block expand="{{ false }}"> |
| 101 <div class="memberList"> | 101 <div class="memberList"> |
| 102 <template repeat="{{ cls in library.classes }}"> | 102 <template repeat="{{ cls in library.classes }}"> |
| 103 <div class="memberItem"> | 103 <div class="memberItem"> |
| 104 <div class="memberValue"> | 104 <div class="memberValue"> |
| 105 <class-ref ref="{{ cls }}"></class-ref> | 105 <class-ref ref="{{ cls }}"></class-ref> |
| 106 </div> | 106 </div> |
| 107 </div> | 107 </div> |
| 108 </template> | 108 </template> |
| 109 </div> | 109 </div> |
| 110 </curly-block><br> | 110 </curly-block><br> |
| (...skipping 16 matching lines...) Expand all Loading... |
| 127 </div> | 127 </div> |
| 128 </div> | 128 </div> |
| 129 </template> | 129 </template> |
| 130 </div> | 130 </div> |
| 131 </curly-block><br> | 131 </curly-block><br> |
| 132 <br> | 132 <br> |
| 133 </template> | 133 </template> |
| 134 | 134 |
| 135 <template if="{{ library.functions.isNotEmpty }}"> | 135 <template if="{{ library.functions.isNotEmpty }}"> |
| 136 functions ({{ library.functions.length }}) | 136 functions ({{ library.functions.length }}) |
| 137 <curly-block expand="{{ library.functions.length <= 8 }}"> | 137 <curly-block expand="{{ false }}"> |
| 138 <div class="memberList"> | 138 <div class="memberList"> |
| 139 <template repeat="{{ function in library.functions }}"> | 139 <template repeat="{{ function in library.functions }}"> |
| 140 <div class="memberItem"> | 140 <div class="memberItem"> |
| 141 <div class="memberValue"> | 141 <div class="memberValue"> |
| 142 <function-ref ref="{{ function }}"></function-ref> | 142 <function-ref ref="{{ function }}"></function-ref> |
| 143 </div> | 143 </div> |
| 144 </div> | 144 </div> |
| 145 </template> | 145 </template> |
| 146 </div> | 146 </div> |
| 147 </curly-block><br> | 147 </curly-block><br> |
| 148 <br> | 148 <br> |
| 149 </template> | 149 </template> |
| 150 </div> | 150 </div> |
| 151 | 151 |
| 152 <div class="content-centered-big"> | 152 <div class="content-centered-big"> |
| 153 <hr> | 153 <hr> |
| 154 <script-inset script="{{ library.rootScript }}"> | 154 <script-inset script="{{ library.rootScript }}"> |
| 155 </script-inset> | 155 </script-inset> |
| 156 </div> | 156 </div> |
| 157 | 157 |
| 158 <view-footer></view-footer> | 158 <view-footer></view-footer> |
| 159 </template> | 159 </template> |
| 160 </polymer-element> | 160 </polymer-element> |
| 161 | 161 |
| 162 <script type="application/dart" src="library_view.dart"></script> | 162 <script type="application/dart" src="library_view.dart"></script> |
| OLD | NEW |