| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 2 // for details. All rights reserved. Use of this source code is governed by a | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 interface EventListenerList { | |
| 6 EventListenerList add(EventListener handler, [bool useCapture]); | |
| 7 | |
| 8 EventListenerList remove(EventListener handler, [bool useCapture]); | |
| 9 | |
| 10 bool dispatch(Event evt); | |
| 11 } | |
| 12 | |
| 13 interface Events { | |
| 14 EventListenerList operator [](String type); | |
| 15 } | |
| 16 | |
| 17 interface EventTarget { | |
| 18 Events get on(); | |
| 19 } | |
| 20 | |
| OLD | NEW |