| OLD | NEW |
| 1 <head> | 1 <head> |
| 2 <link rel="import" href="curly_block.html"> | 2 <link rel="import" href="curly_block.html"> |
| 3 <link rel="import" href="eval_box.html"> | 3 <link rel="import" href="eval_box.html"> |
| 4 <link rel="import" href="field_ref.html"> | 4 <link rel="import" href="field_ref.html"> |
| 5 <link rel="import" href="function_ref.html"> | 5 <link rel="import" href="function_ref.html"> |
| 6 <link rel="import" href="instance_ref.html"> | 6 <link rel="import" href="instance_ref.html"> |
| 7 <link rel="import" href="library_ref.html"> | 7 <link rel="import" href="library_ref.html"> |
| 8 <link rel="import" href="nav_bar.html"> | 8 <link rel="import" href="nav_bar.html"> |
| 9 <link rel="import" href="observatory_element.html"> | 9 <link rel="import" href="observatory_element.html"> |
| 10 <link rel="import" href="script_ref.html"> | 10 <link rel="import" href="script_ref.html"> |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 <template if="{{ cls['error'] != null }}"> | 96 <template if="{{ cls['error'] != null }}"> |
| 97 <!-- TODO(turnidge): Don't use instance-ref for error display here --> | 97 <!-- TODO(turnidge): Don't use instance-ref for error display here --> |
| 98 <instance-ref ref="{{ cls['error'] }}"></instance-ref> | 98 <instance-ref ref="{{ cls['error'] }}"></instance-ref> |
| 99 </template> | 99 </template> |
| 100 | 100 |
| 101 <hr> | 101 <hr> |
| 102 | 102 |
| 103 <div class="content"> | 103 <div class="content"> |
| 104 <template if="{{ cls['fields'].isNotEmpty }}"> | 104 <template if="{{ cls['fields'].isNotEmpty }}"> |
| 105 fields ({{ cls['fields'].length }}) | 105 fields ({{ cls['fields'].length }}) |
| 106 <curly-block> | 106 <curly-block expand="{{ cls['fields'].length <= 8 }}"> |
| 107 <div class="memberList"> | 107 <div class="memberList"> |
| 108 <template repeat="{{ field in cls['fields'] }}"> | 108 <template repeat="{{ field in cls['fields'] }}"> |
| 109 <div class="memberItem"> | 109 <div class="memberItem"> |
| 110 <div class="memberName"> | 110 <div class="memberName"> |
| 111 <field-ref ref="{{ field }}"></field-ref> | 111 <field-ref ref="{{ field }}"></field-ref> |
| 112 </div> | 112 </div> |
| 113 <div class="memberValue"> | 113 <div class="memberValue"> |
| 114 <template if="{{ field['value'] != null }}"> | 114 <template if="{{ field['value'] != null }}"> |
| 115 <instance-ref ref="{{ field['value'] }}"></instance-ref> | 115 <instance-ref ref="{{ field['value'] }}"></instance-ref> |
| 116 </template> | 116 </template> |
| 117 </div> | 117 </div> |
| 118 </div> | 118 </div> |
| 119 </template> | 119 </template> |
| 120 </div> | 120 </div> |
| 121 </curly-block><br> | 121 </curly-block><br><br> |
| 122 </template> | 122 </template> |
| 123 | 123 |
| 124 <template if="{{ cls['functions'].isNotEmpty }}"> | 124 <template if="{{ cls['functions'].isNotEmpty }}"> |
| 125 functions ({{ cls['functions'].length }}) | 125 functions ({{ cls['functions'].length }}) |
| 126 <curly-block> | 126 <curly-block expand="{{ cls['functions'].length <= 8 }}"> |
| 127 <div class="memberList"> | 127 <div class="memberList"> |
| 128 <template repeat="{{ function in cls['functions'] }}"> | 128 <template repeat="{{ function in cls['functions'] }}"> |
| 129 <div class="memberItem"> | 129 <div class="memberItem"> |
| 130 <div class="memberValue"> | 130 <div class="memberValue"> |
| 131 <function-ref ref="{{ function }}" qualified="{{ false }}"> | 131 <function-ref ref="{{ function }}" qualified="{{ false }}"> |
| 132 </function-ref> | 132 </function-ref> |
| 133 </div> | 133 </div> |
| 134 </div> | 134 </div> |
| 135 </template> | 135 </template> |
| 136 </div> | 136 </div> |
| 137 </curly-block><br> | 137 </curly-block><br><br> |
| 138 </template> | 138 </template> |
| 139 </div> | 139 </div> |
| 140 | 140 |
| 141 <hr> | 141 <hr> |
| 142 | 142 |
| 143 <div class="content"> | 143 <div class="content"> |
| 144 <eval-box callback="{{ eval }}"></eval-box> | 144 <eval-box callback="{{ eval }}"></eval-box> |
| 145 </div> | 145 </div> |
| 146 <br><br><br><br> | 146 <br><br><br><br> |
| 147 <br><br><br><br> | 147 <br><br><br><br> |
| 148 </template> | 148 </template> |
| 149 <script type="application/dart" src="class_view.dart"></script> | 149 <script type="application/dart" src="class_view.dart"></script> |
| 150 </polymer-element> | 150 </polymer-element> |
| OLD | NEW |