| 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 <link rel="import" href="editable_label.html"> | 6 <link rel="import" href="editable_label.html"> |
| 7 <polymer-element name="todo-row" extends="li" attributes="todo"> | 7 <polymer-element name="todo-row" extends="li"> |
| 8 <template> | 8 <template> |
| 9 <style> | 9 <style> |
| 10 .todo-item { | 10 .todo-item { |
| 11 position: relative; | 11 position: relative; |
| 12 font-size: 24px; | 12 font-size: 24px; |
| 13 border-bottom: 1px dotted #ccc; | 13 border-bottom: 1px dotted #ccc; |
| 14 } | 14 } |
| 15 | 15 |
| 16 .todo-item.editing { | 16 .todo-item.editing { |
| 17 border-bottom: none; | 17 border-bottom: none; |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 } | 117 } |
| 118 </style> | 118 </style> |
| 119 <div class="todo-item"> | 119 <div class="todo-item"> |
| 120 <input class="toggle" type="checkbox" checked="{{todo.done}}"> | 120 <input class="toggle" type="checkbox" checked="{{todo.done}}"> |
| 121 <editable-label id="label" value="{{todo.task}}"></editable-label> | 121 <editable-label id="label" value="{{todo.task}}"></editable-label> |
| 122 <button class="destroy" on-click="removeTodo"></button> | 122 <button class="destroy" on-click="removeTodo"></button> |
| 123 </div> | 123 </div> |
| 124 </template> | 124 </template> |
| 125 <script type="application/dart" src="todo_row.dart"></script> | 125 <script type="application/dart" src="todo_row.dart"></script> |
| 126 </polymer-element> | 126 </polymer-element> |
| OLD | NEW |