| 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 --> | |
| 7 <html lang="en"> | 2 <html lang="en"> |
| 8 <head> | 3 <head> |
| 9 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 10 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | 5 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| 11 <link rel="import" href="app.html"> | 6 <title>Polymer.dart • TodoMVC</title> |
| 12 <script type="application/dart">export 'package:polymer/init.dart';</script> | 7 <link rel="stylesheet" href="app/app.css"> |
| 13 <script src="packages/browser/dart.js"></script> | 8 <link rel="import" href="lib-elements/polymer_localstorage.html"> |
| 14 <link rel="stylesheet" href="base.css"> | 9 <link rel="import" href="elements/td_model.html"> |
| 15 <title>Dart • TodoMVC</title> | 10 <link rel="import" href="elements/td_todos.html"> |
| 16 </head> | 11 <script type="application/dart">export 'package:polymer/init.dart';</script> |
| 17 <body> | 12 </head> |
| 18 <todo-app></todo-app> | 13 <body> |
| 19 </body> | 14 <header> |
| 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> |
| 20 </html> | 29 </html> |
| OLD | NEW |