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

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

Issue 2213693002: Updated charted DEP to 0.4.X (Closed) Base URL: https://github.com/dart-lang/observatory_pub_packages.git@master
Patch Set: Created 4 years, 4 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
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 38d43f25948cc0e44809089aec76beb80790fb76..03c2d392b51cc4626a5a35b229963a8bf4ba4d0d 100644
--- a/packages/charted/lib/selection/selection_scope.dart
+++ b/packages/charted/lib/selection/selection_scope.dart
@@ -11,7 +11,7 @@ part of charted.selection;
/** SelectionScope represents a scope for all the data and DOM operations. */
class SelectionScope {
Expando _associations = new Expando();
- Expando<Map<String, Pair<Function, bool>>> _listeners = new Expando();
+ Expando<Map<String, Pair<EventListener, bool>>> _listeners = new Expando();
Element _root;
/** Creates a new selection scope with document as the root. */
@@ -57,7 +57,7 @@ class SelectionScope {
datum(Object element) => element == null ? null : _associations[element];
/** Associates data to the given [element]. */
- associate(Object element, datum) =>
+ associate(Element element, datum) =>
datum != null ? _associations[element] = datum : null;
/**
« 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