Index: tools/dom/src/CssClassSet.dart |
diff --git a/tools/dom/src/CssClassSet.dart b/tools/dom/src/CssClassSet.dart |
index 2c875b0d087fd951f7adc24deb7ecfe3422d5813..c688181cf5597df75153586c860624db48681b39 100644 |
--- a/tools/dom/src/CssClassSet.dart |
+++ b/tools/dom/src/CssClassSet.dart |
@@ -44,6 +44,8 @@ abstract class CssClassSet implements Set<String> { |
String join([String separator]) => readClasses().join(separator); |
+ Iterable map(f(String element)) => readClasses().map(f); |
+ |
Iterable mappedBy(f(String element)) => readClasses().mappedBy(f); |
Iterable<String> where(bool f(String element)) => readClasses().where(f); |
@@ -141,7 +143,7 @@ abstract class CssClassSet implements Set<String> { |
* Helper method used to modify the set of css classes on this element. |
* |
* f - callback with: |
- * s - a Set of all the css class name currently on this element. |
+ * s - a Set of all the css class name currently on this element. |
* |
* After f returns, the modified set is written to the |
* className property of this element. |