| 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="field_ref.html"> | 2 <link rel="import" href="field_ref.html"> |
| 3 <link rel="import" href="observatory_element.html"> | 3 |
| 4 <link rel="import" href="service_ref.html"> | 4 <link rel="import" href="service_ref.html"> |
| 5 | 5 |
| 6 <polymer-element name="inbound-reference" extends="service-ref"> | 6 <polymer-element name="inbound-reference"> |
| 7 <template> | 7 <template> |
| 8 <link rel="stylesheet" href="css/shared.css"> | 8 <link rel="stylesheet" href="css/shared.css"> |
| 9 <div> | 9 <div> |
| 10 <template if="{{ ref['parentField'] != null }}"> | 10 <template if="{{ ref['parentField'] != null }}"> |
| 11 from <any-service-ref ref="{{ ref['parentField'] }}"></any-service-ref> | 11 from <any-service-ref ref="{{ ref['parentField'] }}"></any-service-ref> |
| 12 </template> | 12 </template> |
| 13 <template if="{{ ref['parentListIndex'] != null }}"> | 13 <template if="{{ ref['parentListIndex'] != null }}"> |
| 14 from [{{ ref['parentListIndex'] }}] of | 14 from [{{ ref['parentListIndex'] }}] of |
| 15 </template> | 15 </template> |
| 16 <template if="{{ ref['_parentWordOffset'] != null }}"> | 16 <template if="{{ ref['_parentWordOffset'] != null }}"> |
| 17 from word[{{ ref['_parentWordOffset'] }}] of | 17 from word[{{ ref['_parentWordOffset'] }}] of |
| 18 </template> | 18 </template> |
| 19 <any-service-ref ref="{{ ref['source'] }}"></any-service-ref> | 19 <any-service-ref ref="{{ ref['source'] }}"></any-service-ref> |
| 20 <curly-block callback="{{ expander() }}"> | 20 <curly-block callback="{{ expander() }}"> |
| 21 <div class="memberList"> | 21 <div class="memberList"> |
| 22 <div class="memberItem"> | 22 <div class="memberItem"> |
| 23 <div class="memberName"> | 23 <div class="memberName"> |
| 24 <template repeat="{{ reference in inboundReferences }}"> | 24 <template repeat="{{ reference in inboundReferences }}"> |
| 25 <inbound-reference ref="{{ reference }}"></inbound-reference> | 25 <inbound-reference ref="{{ reference }}"></inbound-reference> |
| 26 </template> | 26 </template> |
| 27 </div> | 27 </div> |
| 28 </div> | 28 </div> |
| 29 </div> | 29 </div> |
| 30 </curly-block> | 30 </curly-block> |
| 31 </div> | 31 </div> |
| 32 </template> | 32 </template> |
| 33 </polymer-element> | 33 </polymer-element> |
| 34 | 34 |
| 35 <script type="application/dart" src="inbound_reference.dart"></script> | 35 <script type="application/dart" src="inbound_reference.dart"></script> |
| OLD | NEW |