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

Unified Diff: test/codegen/expect/dom/dom.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/utils.dart ('k') | test/codegen/expect/js/js.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/dom/dom.js
diff --git a/test/codegen/expect/dom/dom.js b/test/codegen/expect/dom/dom.js
index fbcb11c73a1f51dc5947203eff42d221b3cb9513..efc2de13b0e0b66a6245961a2ed2f6c51ce51873 100644
--- a/test/codegen/expect/dom/dom.js
+++ b/test/codegen/expect/dom/dom.js
@@ -5,15 +5,6 @@ dart_library.library('dom/dom', window, /* Imports */[
], function(exports, dart, core) {
'use strict';
let dartx = dart.dartx;
- class JsName extends core.Object {
- JsName(opts) {
- let name = opts && 'name' in opts ? opts.name : null;
- this.name = name;
- }
- }
- dart.setSignature(JsName, {
- constructors: () => ({JsName: [JsName, [], {name: core.String}]})
- });
class Overload extends core.Object {
Overload() {
}
@@ -50,7 +41,6 @@ dart_library.library('dom/dom', window, /* Imports */[
}
class CanvasPathMethods extends core.Object {}
// Exports:
- exports.JsName = JsName;
exports.Overload = Overload;
exports.overload = overload;
exports.CustomEvent = CustomEvent;
« no previous file with comments | « lib/src/utils.dart ('k') | test/codegen/expect/js/js.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698