Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <polymer-element name="eval-link"> | |
| 2 <template> | |
| 3 <style> | |
| 4 .idle { | |
| 5 color: #0489c3; | |
| 6 cursor: pointer; | |
| 7 } | |
| 8 .busy { | |
| 9 color: #aaa; | |
| 10 cursor: wait; | |
| 11 } | |
| 12 </style> | |
| 13 | |
| 14 <template if="{{ busy }}"> | |
| 15 <span class="busy">[evaluate]</span> | |
| 16 </template> | |
| 17 <template if="{{ !busy }}"> | |
| 18 <span class="idle"><a on-click="{{ evalNow }}">[evaluate]</a></span> | |
| 19 </template> | |
| 20 <template if="{{ result != null }}"> | |
| 21 = <instance-ref ref="{{ result }}"></instance-ref> | |
| 22 </template> | |
| 23 | |
| 24 </template> | |
| 25 <script type="application/dart" src="eval_link.dart"></script> | |
| 26 </polymer-element> | |
| OLD | NEW |