Skip to content
This repository
Browse code

Fix EventListenerList add() signature

Seems that optional booleans are required now.
  • Loading branch information...
commit 6f90a56cd1bbcfb63b6ce3bae08d288df33dc730 1 parent b98e159
Chris Strom authored May 25, 2012
2  HipsterCollection.dart
@@ -97,7 +97,7 @@ class CollectionEventList implements EventListenerList {
97 97
     listeners = [];
98 98
   }
99 99
 
100  
-  CollectionEventList add(fn) {
  100
+  CollectionEventList add(fn, [bool useCapture]) {
101 101
     listeners.add(fn);
102 102
     return this;
103 103
   }
2  HipsterModel.dart
@@ -142,7 +142,7 @@ class ModelEventList implements EventListenerList {
142 142
     listeners = [];
143 143
   }
144 144
 
145  
-  add(fn) {
  145
+  add(fn, [bool useCapture]) {
146 146
     listeners.add(fn);
147 147
   }
148 148
 

0 notes on commit 6f90a56

Please sign in to comment.
Something went wrong with that request. Please try again.