OLD | NEW |
1 <link rel="import" href="../lib-elements/polymer-selector.html"> | 1 <link rel="import" href="../lib-elements/polymer-selector.html"> |
2 <link rel="import" href="../lib-elements/simple_router.html"> | 2 <link rel="import" href="../lib-elements/simple_router.html"> |
3 <link rel="import" href="td_input.html"> | 3 <link rel="import" href="td_input.html"> |
4 <link rel="import" href="td_item.html"> | 4 <link rel="import" href="td_item.html"> |
5 | 5 |
6 <polymer-element name="td-todos"> | 6 <polymer-element name="td-todos"> |
7 <template> | 7 <template> |
8 <link rel="stylesheet" href="td_todos.css"> | 8 <link rel="stylesheet" href="td_todos.css"> |
9 <simple-router on-route="{{routeAction}}"></simple-router> | 9 <simple-router on-route="{{routeAction}}"></simple-router> |
10 <section id="todoapp"> | 10 <section id="todoapp"> |
(...skipping 28 matching lines...) Expand all Loading... |
39 <a href="{{baseUri}}#/completed">Completed</a> | 39 <a href="{{baseUri}}#/completed">Completed</a> |
40 </li> | 40 </li> |
41 </polymer-selector> | 41 </polymer-selector> |
42 <button hidden?="{{model.completedCount == 0}}" id="clear-completed" | 42 <button hidden?="{{model.completedCount == 0}}" id="clear-completed" |
43 on-click="{{clearCompletedAction}}">Clear completed | 43 on-click="{{clearCompletedAction}}">Clear completed |
44 ({{model.completedCount}})</button> | 44 ({{model.completedCount}})</button> |
45 </footer> | 45 </footer> |
46 </section> | 46 </section> |
47 </template> | 47 </template> |
48 | 48 |
49 <script type="application/dart;component=1" src="td_todos.dart"></script> | 49 <script type="application/dart" src="td_todos.dart"></script> |
50 | 50 |
51 </polymer-element> | 51 </polymer-element> |
OLD | NEW |