Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(393)

Side by Side Diff: test/data/input/path_normalization_test.html

Issue 11275029: Support for specifying an output directory (issue #106) (Closed) Base URL: git@github.com:dart-lang/dart-web-components.git@master
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <!-- 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 <!-- 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
17 write the output of the compiler to any directory. --> 16 write the output of the compiler to any directory. -->
18 expect 'hello hello': 17 expect 'hello hello':
19 <x-component-a></x-component-a> 18 <x-component-a></x-component-a>
20 <span>{{topLevelVar}}</span> 19 <span>{{topLevelVar}}</span>
21 <script type="application/dart"> 20 <script type="application/dart">
22 import 'dart:html'; 21 import 'dart:html';
23 import 'package:web_components/watcher.dart'; 22 import 'package:web_components/watcher.dart';
24 // TODO(sigmund): rewrite imports in .dart code. 23 import 'common.dart';
25 import '../input/common.dart';
26 main() { 24 main() {
27 topLevelVar = 'hello'; 25 topLevelVar = 'hello';
28 dispatch(); 26 dispatch();
29 window.setTimeout(() => window.postMessage('done', '*'), 0); 27 window.setTimeout(() => window.postMessage('done', '*'), 0);
30 } 28 }
31 </script> 29 </script>
32 </body> 30 </body>
33 </html> 31 </html>
OLDNEW
« no previous file with comments | « test/data/input/main_code_in_dart_file_test.html ('k') | test/data/input/template_multiple_children_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698