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

Unified Diff: sdk/lib/html/html_common/css_class_set.dart

Issue 2754013002: Format all dart: library files (Closed)
Patch Set: Format all dart: library files Created 3 years, 9 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
« no previous file with comments | « sdk/lib/html/html_common/conversions_dartium.dart ('k') | sdk/lib/html/html_common/device.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/html_common/css_class_set.dart
diff --git a/sdk/lib/html/html_common/css_class_set.dart b/sdk/lib/html/html_common/css_class_set.dart
index 3e726001515f0a59e116a899cceee0dd040838c3..61b9863c76e2268d4ceb791cf197647ef29df48e 100644
--- a/sdk/lib/html/html_common/css_class_set.dart
+++ b/sdk/lib/html/html_common/css_class_set.dart
@@ -5,7 +5,6 @@
part of html_common;
abstract class CssClassSetImpl implements CssClassSet {
-
static final RegExp _validTokenRE = new RegExp(r'^\S+$');
String _validateToken(String value) {
@@ -56,8 +55,7 @@ abstract class CssClassSetImpl implements CssClassSet {
String join([String separator = ""]) => readClasses().join(separator);
- Iterable/*<T>*/ map/*<T>*/(/*=T*/ f(String e)) =>
- readClasses().map/*<T>*/(f);
+ Iterable/*<T>*/ map/*<T>*/(/*=T*/ f(String e)) => readClasses().map/*<T>*/(f);
Iterable<String> where(bool f(String element)) => readClasses().where(f);
@@ -178,21 +176,19 @@ abstract class CssClassSetImpl implements CssClassSet {
}
bool containsAll(Iterable<Object> collection) =>
- readClasses().containsAll(collection);
+ readClasses().containsAll(collection);
Set<String> intersection(Set<Object> other) =>
- readClasses().intersection(other);
+ readClasses().intersection(other);
- Set<String> union(Set<String> other) =>
- readClasses().union(other);
+ Set<String> union(Set<String> other) => readClasses().union(other);
- Set<String> difference(Set<Object> other) =>
- readClasses().difference(other);
+ Set<String> difference(Set<Object> other) => readClasses().difference(other);
String get first => readClasses().first;
String get last => readClasses().last;
String get single => readClasses().single;
- List<String> toList({ bool growable: true }) =>
+ List<String> toList({bool growable: true}) =>
readClasses().toList(growable: growable);
Set<String> toSet() => readClasses().toSet();
Iterable<String> take(int n) => readClasses().take(n);
@@ -201,9 +197,9 @@ abstract class CssClassSetImpl implements CssClassSet {
Iterable<String> skip(int n) => readClasses().skip(n);
Iterable<String> skipWhile(bool test(String value)) =>
readClasses().skipWhile(test);
- String firstWhere(bool test(String value), { String orElse() }) =>
+ String firstWhere(bool test(String value), {String orElse()}) =>
readClasses().firstWhere(test, orElse: orElse);
- String lastWhere(bool test(String value), { String orElse()}) =>
+ String lastWhere(bool test(String value), {String orElse()}) =>
readClasses().lastWhere(test, orElse: orElse);
String singleWhere(bool test(String value)) =>
readClasses().singleWhere(test);
« no previous file with comments | « sdk/lib/html/html_common/conversions_dartium.dart ('k') | sdk/lib/html/html_common/device.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698