| OLD | NEW |
| (Empty) |
| 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"> | |
| 8 <head> | |
| 9 <!-- | |
| 10 This test runs the TodoMVC app and evaluates that it renders correctly if a | |
| 11 single item is present in the todo list. | |
| 12 --> | |
| 13 <meta charset="utf-8"> | |
| 14 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
| 15 <link rel="import" href="../web/app.html"> | |
| 16 <link rel="stylesheet" href="../web/base.css"> | |
| 17 <script src="packages/polymer/testing/testing.js"></script> | |
| 18 <title>Dart • TodoMVC</title> | |
| 19 </head><body> | |
| 20 <todo-app></todo-app> | |
| 21 <script type="application/dart"> | |
| 22 import 'dart:html'; | |
| 23 import 'package:polymer/polymer.dart'; | |
| 24 import '../web/model.dart'; | |
| 25 | |
| 26 main() { | |
| 27 appModel.todos.add(new Todo('hola')); | |
| 28 performMicrotaskCheckpoint(); | |
| 29 window.postMessage('done', '*'); | |
| 30 } | |
| 31 </script> | |
| 32 </body> | |
| 33 </html> | |
| OLD | NEW |