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

Unified Diff: lib/src/metadata.dart

Issue 615913004: Add @jsify annotation. Support automatically proxying Lists and Maps to Dart in Proxies. Support co… (Closed) Base URL: https://github.com/dart-lang/js-interop.git@master
Patch Set: Created 6 years, 2 months 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
Index: lib/src/metadata.dart
diff --git a/lib/src/metadata.dart b/lib/src/metadata.dart
index 97ef499735db7b672bc7aa9c7e6df970568ee6e3..7142bfc7591f1e5b3f9d8f423163348a1052762a 100644
--- a/lib/src/metadata.dart
+++ b/lib/src/metadata.dart
@@ -38,3 +38,10 @@ class JsProxy {
final bool global;
const JsProxy({this.constructor, this.global: false});
}
+
+
+class Jsify {
+ const Jsify();
+}
+
+const jsify = const Jsify();

Powered by Google App Engine
This is Rietveld 408576698