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

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

Issue 1486473002: Convert dart_utils.js to input_sdk/lib/_internal/utils.dart (#310) (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Rebased Created 5 years 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/sunflower/sunflower.html » ('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) 12 if (name === void 0)
13 name = null; 13 name = null;
14 this.name = name; 14 this.name = name;
15 } 15 }
16 } 16 }
17 dart.setSignature(JS, { 17 dart.setSignature(JS, {
18 constructors: () => ({JS: [JS, [], [core.String]]}) 18 constructors: () => ({JS: [JS, [], [core.String]]})
19 }); 19 });
20 class _Anonymous extends core.Object { 20 class _Anonymous extends core.Object {
21 _Anonymous() { 21 _Anonymous() {
22 } 22 }
23 } 23 }
24 dart.setSignature(_Anonymous, { 24 dart.setSignature(_Anonymous, {
25 constructors: () => ({_Anonymous: [_Anonymous, []]}) 25 constructors: () => ({_Anonymous: [_Anonymous, []]})
26 }); 26 });
27 const anonymous = dart.const(new _Anonymous()); 27 const anonymous = dart.const(new _Anonymous());
28 // Exports: 28 // Exports:
29 exports.JS = JS; 29 exports.JS = JS;
30 exports.anonymous = anonymous; 30 exports.anonymous = anonymous;
31 }); 31 });
OLDNEW
« no previous file with comments | « test/codegen/expect/html_input.html ('k') | test/codegen/expect/sunflower/sunflower.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698