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

Unified Diff: packages/charted/lib/selection/selection_scope.dart

Issue 1521693002: Roll Observatory deps (charted -> ^0.3.0) (Closed) Base URL: https://chromium.googlesource.com/external/github.com/dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years 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: packages/charted/lib/selection/selection_scope.dart
diff --git a/packages/charted/lib/selection/selection_scope.dart b/packages/charted/lib/selection/selection_scope.dart
index 3543f92cf021ccb0fd25f27ebe0878d35c30c7db..38d43f25948cc0e44809089aec76beb80790fb76 100644
--- a/packages/charted/lib/selection/selection_scope.dart
+++ b/packages/charted/lib/selection/selection_scope.dart
@@ -24,7 +24,7 @@ class SelectionScope {
* [selector] as the root.
*/
SelectionScope.selector(String selector) {
- if (selector == null || selector.isEmpty ){
+ if (selector == null || selector.isEmpty) {
throw new ArgumentError('Selector cannot be empty');
}
_root = document.querySelector(selector);
@@ -74,7 +74,7 @@ class SelectionScope {
* elements in it.
*/
Selection selectAll(String selector) =>
- new _SelectionImpl.all(selector:selector, scope:this);
+ new _SelectionImpl.all(selector: selector, scope: this);
/**
* Creates a new [Selection] containing [elements]. Assumes that
« no previous file with comments | « packages/charted/lib/selection/selection.dart ('k') | packages/charted/lib/selection/src/selection_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698