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 <html lang="en"> | 7 <html lang="en"> |
8 <head> | 8 <head> |
9 <meta charset="utf-8"> | 9 <meta charset="utf-8"> |
10 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | 10 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
(...skipping 10 matching lines...) Expand all Loading... |
21 </script> | 21 </script> |
22 </element> | 22 </element> |
23 Expect "1 2 3 4": | 23 Expect "1 2 3 4": |
24 <x-foo></x-foo> | 24 <x-foo></x-foo> |
25 <span is="x-foo" my-attribute="2"></span> | 25 <span is="x-foo" my-attribute="2"></span> |
26 <x-foo my-attribute="3"></x-foo> | 26 <x-foo my-attribute="3"></x-foo> |
27 <x-foo my-attribute="{{'4'}}"></x-foo> | 27 <x-foo my-attribute="{{'4'}}"></x-foo> |
28 <script type="application/dart"> | 28 <script type="application/dart"> |
29 import 'dart:html'; | 29 import 'dart:html'; |
30 main() { | 30 main() { |
31 window.setTimeout(() => window.postMessage('done', '*'), 0); | 31 window.setImmediate(() => window.postMessage('done', '*')); |
32 } | 32 } |
33 </script> | 33 </script> |
34 </body> | 34 </body> |
35 </html> | 35 </html> |
OLD | NEW |