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

Unified Diff: tool/input_sdk/private/annotations.dart

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 | « tool/input_sdk/lib/js/dart2js/js_dart2js.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/input_sdk/private/annotations.dart
diff --git a/tool/input_sdk/private/annotations.dart b/tool/input_sdk/private/annotations.dart
index 0e792eb8216cf3465e960e5a84d2f4d16ec04897..b7cc970ace3e42e3478ed72880e7959d125656ff 100644
--- a/tool/input_sdk/private/annotations.dart
+++ b/tool/input_sdk/private/annotations.dart
@@ -21,17 +21,6 @@ class Native {
const Native(this.name);
}
-// TODO(jmesserly): move these somewhere else, e.g. package:js or dart:js
-
-class JsName {
- /// The JavaScript name.
- /// Used for classes and libraries.
- /// Note that this could be an expression, e.g. `lib.TypeName` in JS, but it
- /// should be kept simple, as it will be generated directly into the code.
- final String name;
- const JsName({this.name});
-}
-
class JsPeerInterface {
/// The JavaScript type that we should match the API of.
/// Used for classes where Dart subclasses should be callable from JavaScript
« no previous file with comments | « tool/input_sdk/lib/js/dart2js/js_dart2js.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698