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

Side by Side Diff: test/codegen/expect/sunflower/sunflower.html

Issue 1007313003: Move sunflower to a new directory, make final tweaks to make it all work. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « test/codegen/expect/sunflower/sunflower.css ('k') | test/codegen/expect/sunflower/sunflower.js » ('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><!-- Copyright (c) 2012, the Dart project authors. Please see th e AUTHORS file
2
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 2 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. --> 3 BSD-style license that can be found in the LICENSE file. --><html><head>
6
7 <html>
8 <head>
9 <meta charset="utf-8"> 4 <meta charset="utf-8">
10 <title>Sunflower Demo</title> 5 <title>Sunflower Demo</title>
11 <link type="text/css" rel="stylesheet" href="sunflower.css"> 6 <link type="text/css" rel="stylesheet" href="sunflower.css">
12 </head> 7 </head>
13 <body> 8 <body>
14 <h1>drfibonacci's Sunflower Spectacular</h1> 9 <h1>drfibonacci's Sunflower Spectacular</h1>
15 <p>A canvas 2D demo.</p> 10 <p>A canvas 2D demo.</p>
16 11
17 <div id="container"> 12 <div id="container">
18 <canvas id="canvas" width="300" height="300" class="center"></canvas> 13 <canvas id="canvas" width="300" height="300" class="center"></canvas>
19 <form class="center"> 14 <form class="center">
20 <input id="slider" type="range" max="1000" value="500"/> 15 <input id="slider" type="range" max="1000" value="500">
21 </form> 16 </form>
22 <br/> 17 <br>
23 <img src="math.png" width="350px" height="42px" class="center"> 18 <img src="math.png" width="350px" height="42px" class="center">
24 </div> 19 </div>
25 20
26 <footer> 21 <footer>
27 <p id="summary"> </p> 22 <p id="summary"> </p>
28 <p id="notes"> </p> 23 <p id="notes"> </p>
29 </footer> 24 </footer>
30 25
31 <script src="../../lib/runtime/harmony_feature_check.js"></script> 26 <link rel="stylesheet" href="sunflower.css">
32 <script> 27 <script src="dev_compiler/runtime/harmony_feature_check.js"></script>
33 // TODO(jmesserly): some hacks here to get the output running 28 <script src="dev_compiler/runtime/dart_runtime.js"></script>
34 var math = Math; 29 <script src="dev_compiler/runtime/dart_core.js"></script>
35 var core = { int: { parse: Number } }; 30 <script src="dom.js"></script>
36 var dom = { document: document }; 31 <script src="sunflower.js"></script>
37 </script> 32 <script>sunflower.main();</script>
38 <script src="../../lib/runtime/dart_runtime.js"></script> 33
39 <script src="../codegen/expect/sunflower.js"></script> 34
40 <script>sunflower.main();</script> 35
41 </body> 36 </body></html>
42 </html>
OLDNEW
« no previous file with comments | « test/codegen/expect/sunflower/sunflower.css ('k') | test/codegen/expect/sunflower/sunflower.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698