OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 5 BSD-style license that can be found in the LICENSE file. |
6 --> | 6 --> |
7 <html lang="en"> | 7 <html lang="en"> |
8 <head> | 8 <head> |
9 <!-- | 9 <!-- |
10 This test runs the TodoMVC app and evaluates that it renders correctly. | 10 This test runs the TodoMVC app and evaluates that it renders correctly. |
11 --> | 11 --> |
12 <meta charset="utf-8"> | 12 <meta charset="utf-8"> |
13 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | 13 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
14 <link rel="import" href="../web/app.html"> | 14 <link rel="import" href="../web/app.html"> |
15 <link rel="stylesheet" href="../web/base.css"> | 15 <link rel="stylesheet" href="../web/base.css"> |
16 <script src="packages/web_ui/testing/testing.js"></script> | 16 <script src="packages/polymer/testing/testing.js"></script> |
17 <title>Dart • TodoMVC</title> | 17 <title>Dart • TodoMVC</title> |
18 </head><body> | 18 </head><body> |
19 <todo-app></todo-app> | 19 <todo-app></todo-app> |
20 <script type="application/dart"> | 20 <script type="application/dart"> |
| 21 import 'dart:async'; |
21 import 'dart:html'; | 22 import 'dart:html'; |
22 | 23 |
23 main() { | 24 main() { |
24 window.postMessage('done', '*'); | 25 Timer.run(() => window.postMessage('done', '*')); |
25 } | 26 } |
26 </script> | 27 </script> |
27 </body> | 28 </body> |
28 </html> | 29 </html> |
OLD | NEW |