Commit cb3bbec
Remove event name tracking
The addEventListener function binds only once based on the listener
function's identity. We're passing `handleEvent` rather than a function
closure so we can invoke addEventListener multiple times.
Co-authored-by: Keith Cirkel <keithamus@users.noreply.github.com>1 parent 795633b commit cb3bbec
1 file changed
Lines changed: 1 addition & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | 102 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | 103 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
| 104 | + | |
114 | 105 | | |
115 | 106 | | |
0 commit comments