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

Side by Side Diff: test/data/input/conditional4_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, 1 month 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
« no previous file with comments | « test/data/input/conditional3_test.html ('k') | test/data/input/conditional5_test.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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="component_false_yes.html"> 11 <link rel="components" href="component_false_yes.html">
12 <link rel="components" href="component_true_no.html"> 12 <link rel="components" href="component_true_no.html">
13 <title></title> 13 <title></title>
14 <!-- use ../input/ so that the url also works from the output directory --> 14 <script type='application/javascript' src="testing.js"></script>
15 <script type='application/javascript' src="../input/testing.js"></script>
16 </head> 15 </head>
17 <body> 16 <body>
18 <template instantiate="if cond"> 17 <template instantiate="if cond">
19 <span is='x-span-false-yes'></span> 18 <span is='x-span-false-yes'></span>
20 </template> 19 </template>
21 <template instantiate="if notCond"> 20 <template instantiate="if notCond">
22 <span is='x-span-true-no'></span> 21 <span is='x-span-true-no'></span>
23 </template> 22 </template>
24 <script type="application/dart"> 23 <script type="application/dart">
25 import 'dart:html'; 24 import 'dart:html';
26 import 'package:web_components/watcher.dart'; 25 import 'package:web_components/watcher.dart';
27 import '../input/common.dart'; 26 import 'common.dart';
28 main() { 27 main() {
29 window.setTimeout(() { 28 window.setTimeout(() {
30 cond = true; 29 cond = true;
31 dispatch(); 30 dispatch();
32 window.setTimeout(() { 31 window.setTimeout(() {
33 cond = false; 32 cond = false;
34 dispatch(); 33 dispatch();
35 // in the end, we should see 'no' again 34 // in the end, we should see 'no' again
36 window.setTimeout(() => window.postMessage('done', '*'), 0); 35 window.setTimeout(() => window.postMessage('done', '*'), 0);
37 }, 0); 36 }, 0);
38 }, 0); 37 }, 0);
39 } 38 }
40 </script> 39 </script>
41 </body> 40 </body>
42 </html> 41 </html>
OLDNEW
« no previous file with comments | « test/data/input/conditional3_test.html ('k') | test/data/input/conditional5_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698