| OLD | NEW |
| 1 <!doctype html> | 1 <!DOCTYPE html> |
| 2 <!-- |
| 3 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 |
| 5 BSD-style license that can be found in the LICENSE file. |
| 6 --> |
| 2 <html lang="en"> | 7 <html lang="en"> |
| 3 <head> | 8 <head> |
| 4 <meta charset="utf-8"> | 9 <meta charset="utf-8"> |
| 5 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | 10 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| 6 <title>Polymer.dart • TodoMVC</title> | 11 <link rel="import" href="app.html"> |
| 7 <link rel="stylesheet" href="app/app.css"> | 12 <script type="application/dart">export 'package:polymer/init.dart';</script> |
| 8 <link rel="import" href="lib-elements/polymer_localstorage.html"> | 13 <script src="packages/browser/dart.js"></script> |
| 9 <link rel="import" href="elements/td_model.html"> | 14 <link rel="stylesheet" href="base.css"> |
| 10 <link rel="import" href="elements/td_todos.html"> | 15 <title>Dart • TodoMVC</title> |
| 11 <script type="application/dart">export 'package:polymer/init.dart';</script> | 16 </head> |
| 12 </head> | 17 <body> |
| 13 <body> | 18 <todo-app></todo-app> |
| 14 <header> | 19 </body> |
| 15 <h1>todos</h1> | |
| 16 </header> | |
| 17 <polymer-localstorage id="storage" name="todos-polymer"> | |
| 18 </polymer-localstorage> | |
| 19 <td-model id="model" storageId="storage"></td-model> | |
| 20 <td-todos modelId="model"></td-todos> | |
| 21 <footer id="info"> | |
| 22 <p>Double-click to edit a todo</p> | |
| 23 <p>Created by <a href="https://www.dartlang.org/polymer-dart/"> | |
| 24 The Polymer.dart Authors</a></p> | |
| 25 <p>This example was built using a pre-alpha version of Polymer.dart.</p> | |
| 26 <p>Part of <a href="http://todomvc.com">TodoMVC</a></p> | |
| 27 </footer> | |
| 28 </body> | |
| 29 </html> | 20 </html> |
| OLD | NEW |