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

Unified Diff: lib/runtime/dart/_js_helper.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 | « no previous file | lib/runtime/dart/js.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_js_helper.js
diff --git a/lib/runtime/dart/_js_helper.js b/lib/runtime/dart/_js_helper.js
index 6f5a54b37bea1f7732ad336eb187b84faae9d352..aaead27ed700b32b3d71a0d0f79aad3556ebc3ee 100644
--- a/lib/runtime/dart/_js_helper.js
+++ b/lib/runtime/dart/_js_helper.js
@@ -30,15 +30,6 @@ dart_library.library('dart/_js_helper', null, /* Imports */[
dart.setSignature(Native, {
constructors: () => ({Native: [Native, [core.String]]})
});
- 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 JsPeerInterface extends core.Object {
JsPeerInterface(opts) {
let name = opts && 'name' in opts ? opts.name : null;
@@ -1189,7 +1180,6 @@ dart_library.library('dart/_js_helper', null, /* Imports */[
exports.NoThrows = NoThrows;
exports.NoInline = NoInline;
exports.Native = Native;
- exports.JsName = JsName;
exports.JsPeerInterface = JsPeerInterface;
exports.SupportJsExtensionMethods = SupportJsExtensionMethods;
exports.defineProperty = defineProperty;
« no previous file with comments | « no previous file | lib/runtime/dart/js.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698