| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 2 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 3 for details. All rights reserved. Use of this source code is governed by a | 3 for details. All rights reserved. Use of this source code is governed by a |
| 4 BSD-style license that can be found in the LICENSE file. | 4 BSD-style license that can be found in the LICENSE file. |
| 5 --> | 5 --> |
| 6 <meta charset="utf-8"> | 6 <meta charset="utf-8"> |
| 7 <link rel="import" href="editable_label.html"> | 7 <link rel="import" href="editable_label.html"> |
| 8 <polymer-element name="todo-row" extends="li"> | 8 <polymer-element name="todo-row" extends="li"> |
| 9 <template> | 9 <template> |
| 10 <style> | 10 <style> |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 background: none; | 113 background: none; |
| 114 } | 114 } |
| 115 #todo-item .toggle { | 115 #todo-item .toggle { |
| 116 height: 40px; | 116 height: 40px; |
| 117 } | 117 } |
| 118 } | 118 } |
| 119 </style> | 119 </style> |
| 120 <div class="todo-item"> | 120 <div class="todo-item"> |
| 121 <input class="toggle" type="checkbox" checked="{{todo.done}}"> | 121 <input class="toggle" type="checkbox" checked="{{todo.done}}"> |
| 122 <editable-label id="label" value="{{todo.task}}"></editable-label> | 122 <editable-label id="label" value="{{todo.task}}"></editable-label> |
| 123 <button class="destroy" on-click="removeTodo"></button> | 123 <button class="destroy" on-click="{{removeTodo}}"></button> |
| 124 </div> | 124 </div> |
| 125 </template> | 125 </template> |
| 126 <script type="application/dart" src="todo_row.dart"></script> | 126 <script type="application/dart" src="todo_row.dart"></script> |
| 127 </polymer-element> | 127 </polymer-element> |
| OLD | NEW |