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

Unified Diff: third_party/pkg/js/lib/src/wrapping/util.dart

Issue 124053002: Adding Angular and dependent packages for testing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 12 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: third_party/pkg/js/lib/src/wrapping/util.dart
diff --git a/tests/compiler/dart2js_native/call_on_native_class_test.dart b/third_party/pkg/js/lib/src/wrapping/util.dart
similarity index 63%
copy from tests/compiler/dart2js_native/call_on_native_class_test.dart
copy to third_party/pkg/js/lib/src/wrapping/util.dart
index 3b07cf6be0192d8daa41c4c37c37d0909127cd67..d658cbecee1f668cbf57c74475565c9ebb2f58ab 100644
--- a/tests/compiler/dart2js_native/call_on_native_class_test.dart
+++ b/third_party/pkg/js/lib/src/wrapping/util.dart
@@ -2,13 +2,8 @@
// 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.
-class A native '*A' {
-}
+part of js.wrapping;
-class B extends A{
- call() => 42;
-}
+typedef T Mapper<F,T>(F o);
-main() {
- new B()();
-}
+dynamic mapNotNull(dynamic o, Mapper mapper) => o != null ? mapper(o) : null;

Powered by Google App Engine
This is Rietveld 408576698