OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012, 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 // TODO(rnystrom): add a way to supress public classes from DartDoc output. |
| 6 /** |
| 7 * This class is intended for testing purposes only. |
| 8 */ |
| 9 class Testing { |
| 10 static void addEventListener(EventTarget target, String type, EventListener li
stener, bool useCapture) { |
| 11 target._addEventListener(type, listener, useCapture); |
| 12 } |
| 13 static void removeEventListener(EventTarget target, String type, EventListener
listener, bool useCapture) { |
| 14 target._removeEventListener(type, listener, useCapture); |
| 15 } |
| 16 |
| 17 } |
OLD | NEW |