| OLD | NEW |
| 1 <!DOCTYPE html> | |
| 2 <!-- | 1 <!-- |
| 3 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 |
| 4 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 |
| 5 BSD-style license that can be found in the LICENSE file. | 4 BSD-style license that can be found in the LICENSE file. |
| 6 --> | 5 --> |
| 7 <html lang="en"> | 6 <link rel="import" href="router_options.html"> |
| 8 <head> | 7 <link rel="import" href="todo_row.html"> |
| 9 <meta charset="utf-8"> | |
| 10 <link rel="import" href="router_options.html"> | |
| 11 <link rel="import" href="todo_row.html"> | |
| 12 </head> | |
| 13 <body> | |
| 14 <polymer-element name="todo-app"> | 8 <polymer-element name="todo-app"> |
| 15 <template> | 9 <template> |
| 16 <section id="todoapp"> | 10 <section id="todoapp"> |
| 17 <header id="header"> | 11 <header id="header"> |
| 18 <h1 class='title'>todos</h1> | 12 <h1 class='title'>todos</h1> |
| 19 <form on-submit="addTodo"> | 13 <form on-submit="addTodo"> |
| 20 <input id="new-todo" placeholder="What needs to be done?" autofocus | 14 <input id="new-todo" placeholder="What needs to be done?" autofocus |
| 21 on-change="addTodo"> | 15 on-change="addTodo"> |
| 22 </form> | 16 </form> |
| 23 </header> | 17 </header> |
| (...skipping 29 matching lines...) Expand all Loading... |
| 53 Learn more about | 47 Learn more about |
| 54 <a href="https://www.dartlang.org/articles/dart-web-components/">Dart + We
b Components</a> | 48 <a href="https://www.dartlang.org/articles/dart-web-components/">Dart + We
b Components</a> |
| 55 or | 49 or |
| 56 <a href="https://github.com/dart-lang/web-ui/tree/master/example/todomvc">
view the source</a>. | 50 <a href="https://github.com/dart-lang/web-ui/tree/master/example/todomvc">
view the source</a>. |
| 57 </p> | 51 </p> |
| 58 <p>Part of <a href="http://todomvc.com">TodoMVC</a>.</p> | 52 <p>Part of <a href="http://todomvc.com">TodoMVC</a>.</p> |
| 59 </footer> | 53 </footer> |
| 60 </template> | 54 </template> |
| 61 <script type="application/dart" src="app.dart"></script> | 55 <script type="application/dart" src="app.dart"></script> |
| 62 </polymer-element> | 56 </polymer-element> |
| 63 </body> | |
| 64 </html> | |
| OLD | NEW |