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

Unified Diff: client/html/generated/src/wrapping/_TouchListWrappingImplementation.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/_TouchListWrappingImplementation.dart
diff --git a/client/html/generated/src/wrapping/_TouchListWrappingImplementation.dart b/client/html/generated/src/wrapping/_TouchListWrappingImplementation.dart
index aa493cd2aa4134bbde32bb125adbd1911b790dea..b942001a4e4a64f7ed5e1b55a6b5373558af7f0e 100644
--- a/client/html/generated/src/wrapping/_TouchListWrappingImplementation.dart
+++ b/client/html/generated/src/wrapping/_TouchListWrappingImplementation.dart
@@ -61,6 +61,10 @@ class TouchListWrappingImplementation extends DOMWrapperBase implements TouchLis
void forEach(void f(Touch element)) {
_Collections.forEach(this, f);
}
+
+ Collection map(f(Touch element)) {
+ return _Collections.map(this, [], f);
+ }
Collection<Touch> filter(bool f(Touch element)) {
return _Collections.filter(this, new List<Touch>(), f);
« no previous file with comments | « client/html/generated/src/wrapping/_StyleSheetListWrappingImplementation.dart ('k') | client/html/release/htmlimpl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698