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

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

Issue 2249233002: fix #626, add AMD module format and make it default (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: merged Created 4 years, 3 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/language/async_await_test.dart ('k') | test/codegen_expected/BenchmarkBase.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>
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> 7 <html>
8 <head> 8 <head>
9 <meta charset="utf-8"> 9 <meta charset="utf-8">
10 <title>Sunflower Demo</title> 10 <title>Sunflower Demo</title>
(...skipping 13 matching lines...) Expand all
24 </div> 24 </div>
25 25
26 <footer> 26 <footer>
27 <p id="summary"> </p> 27 <p id="summary"> </p>
28 <p id="notes"> </p> 28 <p id="notes"> </p>
29 </footer> 29 </footer>
30 30
31 <!-- 31 <!--
32 <script type="application/dart" src="sunflower.dart"></script> 32 <script type="application/dart" src="sunflower.dart"></script>
33 --> 33 -->
34 <script src="../../../lib/runtime/dart_library.js"></script> 34 <script src="../../../node_modules/requirejs/require.js"></script>
35 <script src="../../../lib/runtime/dart_sdk.js"></script> 35 <script>
36 <script src="../expect/js/js.js"></script> 36 require.config({
37 <script src="../expect/sunflower/sunflower.js"></script> 37 paths: {
38 <script>dart_library.start('sunflower')</script> 38 dart_sdk: "../../../lib/js/amd/dart_sdk",
39 js: "../../../gen/codegen_output/pkg/js",
40 }
41 });
42 require(["../../../gen/codegen_output/sunflower/sunflower"],
43 (sunflower) => {
44 sunflower.sunflower.main();
45 });
46 </script>
39 </body> 47 </body>
40 </html> 48 </html>
OLDNEW
« no previous file with comments | « test/codegen/language/async_await_test.dart ('k') | test/codegen_expected/BenchmarkBase.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698