| 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="code_in_dart_file_component.html"> | 11 <link rel="components" href="code_in_dart_file_component.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 <!-- Tests that it is possible to write the top-level dart code in a separate | 15 <!-- Tests that it is possible to write the top-level dart code in a separate |
| 17 .dart file. --> | 16 .dart file. --> |
| 18 <div>expect 'hello': {{topLevelVar}}</div> | 17 <div>expect 'hello': {{topLevelVar}}</div> |
| 19 <script type="application/dart" src="main_code_in_dart_file.dart"></script> | 18 <script type="application/dart" src="main_code_in_dart_file.dart"></script> |
| 20 </body> | 19 </body> |
| 21 </html> | 20 </html> |
| OLD | NEW |