Index: tools/dom/src/dartium_CssClassSet.dart |
diff --git a/tools/dom/src/dartium_CssClassSet.dart b/tools/dom/src/dartium_CssClassSet.dart |
index cba90253baa025a4d759f2267a472d938d7c217d..868cc57cfc2e4ab18e065c1d62ea56d8ac64a759 100644 |
--- a/tools/dom/src/dartium_CssClassSet.dart |
+++ b/tools/dom/src/dartium_CssClassSet.dart |
@@ -13,14 +13,14 @@ class _MultiElementCssClassSet extends CssClassSetImpl { |
Iterable<_ElementCssClassSet> _elementCssClassSetIterable; |
_MultiElementCssClassSet(this._elementIterable) { |
- _elementCssClassSetIterable = new List.from(_elementIterable).map( |
- (e) => new _ElementCssClassSet(e)); |
+ _elementCssClassSetIterable = |
+ new List.from(_elementIterable).map((e) => new _ElementCssClassSet(e)); |
} |
Set<String> readClasses() { |
var s = new LinkedHashSet<String>(); |
- _elementCssClassSetIterable.forEach( |
- (_ElementCssClassSet e) => s.addAll(e.readClasses())); |
+ _elementCssClassSetIterable |
+ .forEach((_ElementCssClassSet e) => s.addAll(e.readClasses())); |
return s; |
} |
@@ -40,7 +40,7 @@ class _MultiElementCssClassSet extends CssClassSetImpl { |
* After f returns, the modified set is written to the |
* className property of this element. |
*/ |
- modify( f(Set<String> s)) { |
+ modify(f(Set<String> s)) { |
_elementCssClassSetIterable.forEach((_ElementCssClassSet e) => e.modify(f)); |
} |
@@ -49,7 +49,8 @@ class _MultiElementCssClassSet extends CssClassSetImpl { |
* is. |
*/ |
bool toggle(String value, [bool shouldAdd]) => |
- _elementCssClassSetIterable.fold(false, |
+ _elementCssClassSetIterable.fold( |
+ false, |
(bool changed, _ElementCssClassSet e) => |
e.toggle(value, shouldAdd) || changed); |
@@ -65,7 +66,6 @@ class _MultiElementCssClassSet extends CssClassSetImpl { |
} |
class _ElementCssClassSet extends CssClassSetImpl { |
- |
final Element _element; |
_ElementCssClassSet(this._element); |