| Index: client/html/src/EventTargetWrappingImplementation.dart
|
| diff --git a/client/html/src/EventTargetWrappingImplementation.dart b/client/html/src/EventTargetWrappingImplementation.dart
|
| index d85eaed0064fc097af9ad9bc6168f94377e26402..573873a0d69d0bb898fb9f9d0acfbab21cebcc6a 100644
|
| --- a/client/html/src/EventTargetWrappingImplementation.dart
|
| +++ b/client/html/src/EventTargetWrappingImplementation.dart
|
| @@ -9,9 +9,9 @@ class EventsImplementation implements Events {
|
| Map<String, EventListenerList> _listenerMap;
|
|
|
| EventsImplementation._wrap(this._ptr) {
|
| - // TODO(sigmund): uncomment type annotation (bug 221), currently dartc and
|
| - // frog interpret it differently.
|
| - _listenerMap = /*<EventListenerList>*/{};
|
| + // TODO(sigmund): the key type (String) yields a warning in frog and the vm,
|
| + // but it is currently necessary to compile with dartc.
|
| + _listenerMap = <String, EventListenerList>{};
|
| }
|
|
|
| EventListenerList operator [](String type) {
|
|
|