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

Side by Side Diff: test/codegen/expect/script.js

Issue 1413683006: Move runtime js files down to lib/runtime/dart (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 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/codegen/expect/opassign.js ('k') | test/codegen/expect/sunflower/circle.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 dart_library.library('script', null, /* Imports */[ 1 dart_library.library('script', null, /* Imports */[
2 "dart_runtime/dart", 2 "dart/_runtime",
3 'dart/core' 3 'dart/core'
4 ], /* Lazy imports */[ 4 ], /* Lazy imports */[
5 ], function(exports, dart, core) { 5 ], function(exports, dart, core) {
6 'use strict'; 6 'use strict';
7 let dartx = dart.dartx; 7 let dartx = dart.dartx;
8 function main(args) { 8 function main(args) {
9 let name = args[dartx.join](' '); 9 let name = args[dartx.join](' ');
10 if (name == '') 10 if (name == '')
11 name = 'world'; 11 name = 'world';
12 core.print(`hello ${name}`); 12 core.print(`hello ${name}`);
13 } 13 }
14 dart.fn(main, dart.void, [core.List$(core.String)]); 14 dart.fn(main, dart.void, [core.List$(core.String)]);
15 // Exports: 15 // Exports:
16 exports.main = main; 16 exports.main = main;
17 }); 17 });
OLDNEW
« no previous file with comments | « test/codegen/expect/opassign.js ('k') | test/codegen/expect/sunflower/circle.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698