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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/sunflower/sunflower.html
diff --git a/test/sunflower/sunflower.html b/test/codegen/expect/sunflower/sunflower.html
similarity index 51%
copy from test/sunflower/sunflower.html
copy to test/codegen/expect/sunflower/sunflower.html
index 321b12af8d4c67e07098081ffb07a6790a49349c..f738b0cfa0743d9c08ac125d9848b9014ce171ab 100644
--- a/test/sunflower/sunflower.html
+++ b/test/codegen/expect/sunflower/sunflower.html
@@ -1,11 +1,6 @@
-<!DOCTYPE html>
-
-<!-- Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+<!DOCTYPE html><!-- Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
for details. All rights reserved. Use of this source code is governed by a
- BSD-style license that can be found in the LICENSE file. -->
-
-<html>
- <head>
+ BSD-style license that can be found in the LICENSE file. --><html><head>
<meta charset="utf-8">
<title>Sunflower Demo</title>
<link type="text/css" rel="stylesheet" href="sunflower.css">
@@ -17,9 +12,9 @@
<div id="container">
<canvas id="canvas" width="300" height="300" class="center"></canvas>
<form class="center">
- <input id="slider" type="range" max="1000" value="500"/>
+ <input id="slider" type="range" max="1000" value="500">
</form>
- <br/>
+ <br>
<img src="math.png" width="350px" height="42px" class="center">
</div>
@@ -28,15 +23,14 @@
<p id="notes"> </p>
</footer>
- <script src="../../lib/runtime/harmony_feature_check.js"></script>
- <script>
- // TODO(jmesserly): some hacks here to get the output running
- var math = Math;
- var core = { int: { parse: Number } };
- var dom = { document: document };
- </script>
- <script src="../../lib/runtime/dart_runtime.js"></script>
- <script src="../codegen/expect/sunflower.js"></script>
- <script>sunflower.main();</script>
- </body>
-</html>
+ <link rel="stylesheet" href="sunflower.css">
+<script src="dev_compiler/runtime/harmony_feature_check.js"></script>
+<script src="dev_compiler/runtime/dart_runtime.js"></script>
+<script src="dev_compiler/runtime/dart_core.js"></script>
+<script src="dom.js"></script>
+<script src="sunflower.js"></script>
+<script>sunflower.main();</script>
+
+
+
+</body></html>
« 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