| 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>
|
|
|