| 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="dir1/path_normalization_c1.html"> | 11 <link rel="components" href="dir1/path_normalization_c1.html"> |
| 12 <script type="application/javascript" src="testing.js"></script> | 12 <script type="application/javascript" src="testing.js"></script> |
| 13 </head> | 13 </head> |
| 14 <body> | 14 <body> |
| 15 <!-- test that link-rel and imports are fixed/normalized allowing us to | 15 <!-- test that link-rel and imports are fixed/normalized allowing us to |
| 16 write the output of the compiler to any directory. --> | 16 write the output of the compiler to any directory. --> |
| 17 expect 'hello hello': | 17 expect 'hello hello': |
| 18 <x-component-a></x-component-a> | 18 <x-component-a></x-component-a> |
| 19 <span>{{topLevelVar}}</span> | 19 <span>{{topLevelVar}}</span> |
| 20 <script type="application/dart"> | 20 <script type="application/dart"> |
| 21 import 'dart:html'; | 21 import 'dart:html'; |
| 22 import 'package:web_components/watcher.dart'; | 22 import 'package:web_ui/watcher.dart'; |
| 23 import 'common.dart'; | 23 import 'common.dart'; |
| 24 main() { | 24 main() { |
| 25 topLevelVar = 'hello'; | 25 topLevelVar = 'hello'; |
| 26 dispatch(); | 26 dispatch(); |
| 27 window.setTimeout(() => window.postMessage('done', '*'), 0); | 27 window.setTimeout(() => window.postMessage('done', '*'), 0); |
| 28 } | 28 } |
| 29 </script> | 29 </script> |
| 30 </body> | 30 </body> |
| 31 </html> | 31 </html> |
| OLD | NEW |