| Index: tools/dom/src/CssClassSet.dart
|
| diff --git a/tools/dom/src/CssClassSet.dart b/tools/dom/src/CssClassSet.dart
|
| index 58c1d6a8b06f301cb60a2c4c1293755b2d17e9d6..5d9a910ceac39a79297e179084579f2ff3abd23b 100644
|
| --- a/tools/dom/src/CssClassSet.dart
|
| +++ b/tools/dom/src/CssClassSet.dart
|
| @@ -35,8 +35,13 @@ abstract class CssClassSet implements Set<String> {
|
| *
|
| * This is the Dart equivalent of jQuery's
|
| * [addClass](http://api.jquery.com/addClass/).
|
| + *
|
| + * If this corresponds to one element. Returns `true` if [value] was added to
|
| + * the set, otherwise `false`.
|
| + *
|
| + * If this corresponds to many elements, `null` is always returned.
|
| */
|
| - void add(String value);
|
| + bool add(String value);
|
|
|
| /**
|
| * Remove the class [value] from element, and return true on successful
|
| @@ -111,7 +116,7 @@ class _MultiElementCssClassSet extends CssClassSetImpl {
|
| * After f returns, the modified set is written to the
|
| * className property of this element.
|
| */
|
| - void modify( f(Set<String> s)) {
|
| + modify( f(Set<String> s)) {
|
| _elementCssClassSetIterable.forEach((e) => e.modify(f));
|
| }
|
|
|
|
|