Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <head> | 1 <head> |
| 2 <link rel="import" href="observatory_element.html"> | 2 <link rel="import" href="observatory_element.html"> |
| 3 </head> | 3 </head> |
| 4 <polymer-element name="field-ref" extends="observatory-element"> | 4 <polymer-element name="field-ref" extends="observatory-element"> |
| 5 <template> | 5 <template> |
| 6 <div> | 6 <div> |
| 7 <template if="{{ field['final'] }}"> final </template> | 7 <template if="{{ field['final'] }}"> final </template> |
| 8 <template if="{{ field['const'] }}"> const </template> | 8 <template if="{{ field['const'] }}"> const </template> |
| 9 <template if="{{ (field['declared_type']['name'] == 'dynamic' && !field['final '] && !field['const']) }}"> | 9 <template if="{{ (field['declared_type']['name'] == 'dynamic' && !field['final '] && !field['const']) }}"> |
| 10 var | 10 var |
| 11 </template> | 11 </template> |
| 12 <template if="{{ (field['declared_type']['name'] != 'dynamic') }}"> | 12 <template if="{{ (field['declared_type']['name'] != 'dynamic') }}"> |
| 13 <a href="{{ app.locationManager.currentIsolateClassLink(field['declared_type'] ['id']) }}"> | 13 <a href="{{ app.locationManager.currentIsolateRelativeLink(field['declared_typ e']['id']) }}"> |
| 14 {{ field['declared_type']['user_name'] }} </a> | 14 {{ field['declared_type']['user_name'] }} </a> |
| 15 </template> | 15 </template> |
|
turnidge
2013/12/19 20:39:29
I think maybe we should make the above a <class-re
Cutch
2013/12/19 21:53:58
I didn't want to mess with field-ref or instance-r
| |
| 16 <a href="{{ app.locationManager.currentIsolateObjectLink(field['id'])}}"> | 16 <a href="{{ app.locationManager.currentIsolateRelativeLink(field['id'])}}"> |
| 17 {{ field['user_name'] }} </a> | 17 {{ field['user_name'] }} </a> |
| 18 </div> | 18 </div> |
| 19 </template> <script type="application/dart" src="field_ref.dart"></script> </pol ymer-element> | 19 </template> <script type="application/dart" src="field_ref.dart"></script> </pol ymer-element> |
| OLD | NEW |