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

Unified Diff: client/html/generated/src/wrapping/_MediaListWrappingImplementation.dart

Issue 9167006: Support map in generated dart:html files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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: client/html/generated/src/wrapping/_MediaListWrappingImplementation.dart
diff --git a/client/html/generated/src/wrapping/_MediaListWrappingImplementation.dart b/client/html/generated/src/wrapping/_MediaListWrappingImplementation.dart
index d7b7c0658cdd281d5fdc504e4cd1650f21d203fe..1c816d8987e6dac419aaa9b3d5729060cdedc873 100644
--- a/client/html/generated/src/wrapping/_MediaListWrappingImplementation.dart
+++ b/client/html/generated/src/wrapping/_MediaListWrappingImplementation.dart
@@ -66,6 +66,10 @@ class MediaListWrappingImplementation extends DOMWrapperBase implements MediaLis
_Collections.forEach(this, f);
}
+ Collection map(f(String element)) {
+ return _Collections.map(this, [], f);
+ }
+
Collection<String> filter(bool f(String element)) {
return _Collections.filter(this, new List<String>(), f);
}

Powered by Google App Engine
This is Rietveld 408576698