| 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;
|
|
|
| /**
|
|
|