| 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="router_options.html"> | 6 <link rel="import" href="router_options.html"> |
| 7 <link rel="import" href="todo_row.html"> | 7 <link rel="import" href="todo_row.html"> |
| 8 <polymer-element name="todo-app"> | 8 <polymer-element name="todo-app"> |
| 9 <template> | 9 <template> |
| 10 <section id="todoapp"> | 10 <section id="todoapp"> |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 Clear completed ({{app.doneCount}}) | 37 Clear completed ({{app.doneCount}}) |
| 38 </button> | 38 </button> |
| 39 </template> | 39 </template> |
| 40 </footer> | 40 </footer> |
| 41 </template> | 41 </template> |
| 42 </section> | 42 </section> |
| 43 <footer id="info"> | 43 <footer id="info"> |
| 44 <p>Double-click to edit a todo.</p> | 44 <p>Double-click to edit a todo.</p> |
| 45 <p>Credits: the <a href="http://www.dartlang.org">Dart</a> team.</p> | 45 <p>Credits: the <a href="http://www.dartlang.org">Dart</a> team.</p> |
| 46 <p> | 46 <p> |
| 47 This example was built using a pre-1.0 version of Polymer.dart. |
| 47 Learn more about | 48 Learn more about |
| 48 <a href="https://www.dartlang.org/articles/dart-web-components/">Dart + We
b Components</a> | 49 <a href="https://www.dartlang.org/polymer-dart/">Polymer.dart</a> |
| 49 or | 50 or |
| 50 <a href="https://github.com/dart-lang/web-ui/tree/master/example/todomvc">
view the source</a>. | 51 <a href="https://code.google.com/p/dart/source/browse/branches/bleeding_ed
ge/dart/samples/third_party/todomvc/">view the source</a>. |
| 51 </p> | 52 </p> |
| 52 <p>Part of <a href="http://todomvc.com">TodoMVC</a>.</p> | 53 <p>Part of <a href="http://todomvc.com">TodoMVC</a>.</p> |
| 53 </footer> | 54 </footer> |
| 54 </template> | 55 </template> |
| 55 <script type="application/dart" src="app.dart"></script> | 56 <script type="application/dart" src="app.dart"></script> |
| 56 </polymer-element> | 57 </polymer-element> |
| OLD | NEW |