| OLD | NEW |
| 1 library todomvc.web.elements.td_todos; | 1 library todomvc.web.elements.td_todos; |
| 2 | 2 |
| 3 import 'dart:html'; | 3 import 'dart:html'; |
| 4 import 'package:polymer/polymer.dart'; | 4 import 'package:polymer/polymer.dart'; |
| 5 import 'td_input.dart'; | 5 import 'td_input.dart'; |
| 6 import 'td_model.dart'; | 6 import 'td_model.dart'; |
| 7 | 7 |
| 8 @CustomTag('td-todos') | 8 @CustomTag('td-todos') |
| 9 class TodoList extends PolymerElement { | 9 class TodoList extends PolymerElement { |
| 10 @published String modelId; | 10 @published String modelId; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 } | 52 } |
| 53 | 53 |
| 54 void clearCompletedAction() { | 54 void clearCompletedAction() { |
| 55 model.clearItems(); | 55 model.clearItems(); |
| 56 } | 56 } |
| 57 | 57 |
| 58 // TODO(jmesserly): workaround for HTML Imports not setting correct baseURI | 58 // TODO(jmesserly): workaround for HTML Imports not setting correct baseURI |
| 59 String get baseUri => | 59 String get baseUri => |
| 60 declaration.element.ownerDocument == document ? '../' : ''; | 60 declaration.element.ownerDocument == document ? '../' : ''; |
| 61 } | 61 } |
| OLD | NEW |