| 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"> |
| 11 <link rel="components" href="component_imports_component_c2a.html"> | 11 <link rel="components" href="component_imports_component_c2a.html"> |
| 12 <!-- use ../input/ so that the url also works from the output directory --> | 12 <script type="application/javascript" src="testing.js"></script> |
| 13 <script type="application/javascript" src="../input/testing.js"></script> | |
| 14 </head> | 13 </head> |
| 15 <body> | 14 <body> |
| 16 <!-- use component-a, which internally uses component-b defined in a separate | 15 <!-- use component-a, which internally uses component-b defined in a separate |
| 17 file --> | 16 file --> |
| 18 expect 'hello': <x-component-a></x-component-a> | 17 expect 'hello': <x-component-a></x-component-a> |
| 19 <script type="application/dart"> | 18 <script type="application/dart"> |
| 20 import 'dart:html'; | 19 import 'dart:html'; |
| 21 main() { | 20 main() { |
| 22 window.setTimeout(() => window.postMessage('done', '*'), 0); | 21 window.setTimeout(() => window.postMessage('done', '*'), 0); |
| 23 } | 22 } |
| 24 </script> | 23 </script> |
| 25 </body> | 24 </body> |
| 26 </html> | 25 </html> |
| 27 | 26 |
| OLD | NEW |