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

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

Issue 1530563003: Generate all runtime files from dart. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: merged master Created 4 years, 11 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/html_input.html ('k') | test/codegen/expect/js/src/varargs.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('js/js', null, /* Imports */[ 1 dart_library.library('js/js', null, /* Imports */[
2 "dart/_runtime", 2 'dart/_runtime',
3 'dart/js', 3 'dart/js',
4 'dart/core' 4 'dart/core'
5 ], /* Lazy imports */[ 5 ], /* Lazy imports */[
6 ], function(exports, dart, js, core) { 6 ], function(exports, dart, js, core) {
7 'use strict'; 7 'use strict';
8 let dartx = dart.dartx; 8 let dartx = dart.dartx;
9 dart.export_(exports, js, ['allowInterop', 'allowInteropCaptureThis'], []); 9 dart.export(exports, js, ['allowInterop', 'allowInteropCaptureThis'], []);
10 class JS extends core.Object { 10 class JS extends core.Object {
11 JS(name) { 11 JS(name) {
12 if (name === void 0) name = null; 12 if (name === void 0) name = null;
13 this.name = name; 13 this.name = name;
14 } 14 }
15 } 15 }
16 dart.setSignature(JS, { 16 dart.setSignature(JS, {
17 constructors: () => ({JS: [JS, [], [core.String]]}) 17 constructors: () => ({JS: [JS, [], [core.String]]})
18 }); 18 });
19 class _Anonymous extends core.Object { 19 class _Anonymous extends core.Object {
20 _Anonymous() { 20 _Anonymous() {
21 } 21 }
22 } 22 }
23 dart.setSignature(_Anonymous, { 23 dart.setSignature(_Anonymous, {
24 constructors: () => ({_Anonymous: [_Anonymous, []]}) 24 constructors: () => ({_Anonymous: [_Anonymous, []]})
25 }); 25 });
26 const anonymous = dart.const(new _Anonymous()); 26 const anonymous = dart.const(new _Anonymous());
27 // Exports: 27 // Exports:
28 exports.JS = JS; 28 exports.JS = JS;
29 exports.anonymous = anonymous; 29 exports.anonymous = anonymous;
30 }); 30 });
OLDNEW
« no previous file with comments | « test/codegen/expect/html_input.html ('k') | test/codegen/expect/js/src/varargs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698