| 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 24 matching lines...) Expand all Loading... |
| 35 <template> | 35 <template> |
| 36 <shadow></shadow> | 36 <shadow></shadow> |
| 37 <p>Hello, I am a Derived element with no script tag!</p> | 37 <p>Hello, I am a Derived element with no script tag!</p> |
| 38 </template> | 38 </template> |
| 39 </element> | 39 </element> |
| 40 <div is="x-derived"></div> | 40 <div is="x-derived"></div> |
| 41 <script type="application/dart"> | 41 <script type="application/dart"> |
| 42 import 'common.dart'; | 42 import 'common.dart'; |
| 43 import 'dart:html'; | 43 import 'dart:html'; |
| 44 main() { | 44 main() { |
| 45 window.setTimeout(() => window.postMessage('done', '*'), 0); | 45 window.setImmediate(() => window.postMessage('done', '*')); |
| 46 } | 46 } |
| 47 </script> | 47 </script> |
| 48 </body> | 48 </body> |
| 49 </html> | 49 </html> |
| OLD | NEW |