diff options
author | Adam Conrad <422184+acconrad@users.noreply.github.com> | 2019-01-23 12:20:53 +0000 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-01-23 06:20:53 -0600 |
commit | e470f31d328884303e56f2f15a4121b8ffe097a6 (patch) | |
tree | 84e878d3c53db4f969c29357c7f5985b59c7d9f2 /js/event_target_test.ts | |
parent | 77114fbda49382e397095d8214bd76996b0cfb57 (diff) |
Web API: CustomEvent (#1505)
Diffstat (limited to 'js/event_target_test.ts')
-rw-r--r-- | js/event_target_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/event_target_test.ts b/js/event_target_test.ts index 6065c875a..c6477f2c7 100644 --- a/js/event_target_test.ts +++ b/js/event_target_test.ts @@ -34,8 +34,8 @@ test(function constructedEventTargetCanBeUsedAsExpected() { test(function anEventTargetCanBeSubclassed() { class NicerEventTarget extends EventTarget { - on(type, listener?, options?) { - this.addEventListener(type, listener, options); + on(type, callback?, options?) { + this.addEventListener(type, callback, options); } off(type, callback?, options?) { |