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

Unified Diff: tests/html/json_helper.dart

Issue 1318043005: Support user generated custom native JS classes. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: about to land Created 5 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
« no previous file with comments | « tests/html/js_typed_interop_test.dart ('k') | tests/html/mirrors_js_typed_interop_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/json_helper.dart
diff --git a/tests/language/deferred_type_dependency_lib3.dart b/tests/html/json_helper.dart
similarity index 69%
copy from tests/language/deferred_type_dependency_lib3.dart
copy to tests/html/json_helper.dart
index 9a23fc960f3a41a78bc94be3ec5b94d01b130256..15f92c0e61499b2b4316e24228783114d1d66c6b 100644
--- a/tests/language/deferred_type_dependency_lib3.dart
+++ b/tests/html/json_helper.dart
@@ -2,9 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library lib3;
+@Js("JSON")
+library json_helper;
-class A {
- var p = true;
-}
+import 'package:js/js.dart';
+external String stringify(object);
« no previous file with comments | « tests/html/js_typed_interop_test.dart ('k') | tests/html/mirrors_js_typed_interop_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698