OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3 Copyright (c) 2012, 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 <!-- | 7 <!-- |
8 The test uses list_component to render an iterated element in a separate | 8 The test uses list_component to render an iterated element in a separate |
9 component. | 9 component. |
10 --> | 10 --> |
11 <html lang="en"> | 11 <html lang="en"> |
12 <head> | 12 <head> |
13 <meta charset="utf-8"> | 13 <meta charset="utf-8"> |
14 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | 14 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
15 <link rel="components" href="list_component.html"> | 15 <link rel="components" href="list_component.html"> |
16 <script type="application/javascript" src="testing.js"></script> | 16 <script type="application/javascript" src="testing.js"></script> |
17 </head> | 17 </head> |
18 <body> | 18 <body> |
19 <x-list></x-list> | 19 <x-list></x-list> |
20 <script type="application/dart"> | 20 <script type="application/dart"> |
21 import 'dart:html'; | 21 import 'dart:html'; |
22 main() { | 22 main() { |
23 window.setTimeout(() => window.postMessage('done', '*'), 0); | 23 window.setImmediate(() => window.postMessage('done', '*')); |
24 } | 24 } |
25 </script> | 25 </script> |
26 </body> | 26 </body> |
27 </html> | 27 </html> |
OLD | NEW |