| OLD | NEW |
| (Empty) |
| 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> | |
| 2 <link rel="import" href="instance_ref.html"> | |
| 3 <link rel="import" href="error_ref.html"> | |
| 4 | |
| 5 <polymer-element name="eval-link"> | |
| 6 <template> | |
| 7 <style> | |
| 8 .idle { | |
| 9 color: #0489c3; | |
| 10 cursor: pointer; | |
| 11 } | |
| 12 .busy { | |
| 13 color: #aaa; | |
| 14 cursor: wait; | |
| 15 } | |
| 16 </style> | |
| 17 | |
| 18 <template if="{{ busy }}"> | |
| 19 <span class="busy">{{ label }}</span> | |
| 20 </template> | |
| 21 <template if="{{ !busy }}"> | |
| 22 <span class="idle"><a on-click="{{ evalNow }}">{{ label }}</a></span> | |
| 23 </template> | |
| 24 <template if="{{ result != null }}"> | |
| 25 = <any-service-ref ref="{{ result }}"></any-service-ref> | |
| 26 </template> | |
| 27 </template> | |
| 28 </polymer-element> | |
| 29 | |
| 30 <script type="application/dart" src="eval_link.dart"></script> | |
| OLD | NEW |