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

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

Issue 1448993002: Switch ddc to use @JS instead of @JSName (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/dom/dom.js ('k') | test/codegen/expect/js/js.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 dart_library.library('js/js', null, /* Imports */[
2 "dart/_runtime",
3 'dart/js',
4 'dart/core'
5 ], /* Lazy imports */[
6 ], function(exports, dart, js, core) {
7 'use strict';
8 let dartx = dart.dartx;
9 dart.export(exports, js, ['allowInterop', 'allowInteropCaptureThis'], []);
10 class JS extends core.Object {
11 JS(name) {
12 if (name === void 0)
13 name = null;
14 this.name = name;
15 }
16 }
17 dart.setSignature(JS, {
18 constructors: () => ({JS: [JS, [], [core.String]]})
19 });
20 class _Anonymous extends core.Object {
21 _Anonymous() {
22 }
23 }
24 dart.setSignature(_Anonymous, {
25 constructors: () => ({_Anonymous: [_Anonymous, []]})
26 });
27 let anonymous = dart.const(new _Anonymous());
28 // Exports:
29 exports.JS = JS;
30 exports.anonymous = anonymous;
31 });
OLDNEW
« no previous file with comments | « test/codegen/expect/dom/dom.js ('k') | test/codegen/expect/js/js.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698