Permalink
Browse files

Fix EventListenerList add() signature

Seems that optional booleans are required now.
  • Loading branch information...
1 parent b98e159 commit 6f90a56cd1bbcfb63b6ce3bae08d288df33dc730 @eee-c committed May 26, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 HipsterCollection.dart
  2. +1 −1 HipsterModel.dart
View
@@ -97,7 +97,7 @@ class CollectionEventList implements EventListenerList {
listeners = [];
}
- CollectionEventList add(fn) {
+ CollectionEventList add(fn, [bool useCapture]) {
listeners.add(fn);
return this;
}
View
@@ -142,7 +142,7 @@ class ModelEventList implements EventListenerList {
listeners = [];
}
- add(fn) {
+ add(fn, [bool useCapture]) {
listeners.add(fn);
}

0 comments on commit 6f90a56

Please sign in to comment.