Commit ab0eb4f
events: support event handlers on prototypes
PR-URL: #35931
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>1 parent 33e2ee5 commit ab0eb4fCopy full SHA for ab0eb4f
File tree
Expand file treeCollapse file tree
3 files changed
+18
-12
lines changedOpen diff view settings
Filter options
- lib/internal
- worker
- test/parallel
Expand file treeCollapse file tree
3 files changed
+18
-12
lines changedOpen diff view settings
Collapse file
lib/internal/event_target.js
Copy file name to clipboardExpand all lines: lib/internal/event_target.js+13-6Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
| 17 | + |
17 | 18 | |
18 | 19 | |
19 | 20 | |
| ||
577 | 578 | |
578 | 579 | |
579 | 580 | |
| 581 | + |
| 582 | + |
| 583 | + |
580 | 584 | |
581 | 585 | |
582 | | - |
583 | 586 | |
584 | 587 | |
585 | | - |
| 588 | + |
586 | 589 | |
587 | 590 | |
588 | | - |
589 | | - |
| 591 | + |
| 592 | + |
| 593 | + |
590 | 594 | |
591 | 595 | |
592 | | - |
| 596 | + |
| 597 | + |
| 598 | + |
| 599 | + |
593 | 600 | |
594 | | - |
| 601 | + |
595 | 602 | |
596 | 603 | |
597 | 604 | |
|
Collapse file
+3-2Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
146 | 146 | |
147 | 147 | |
148 | 148 | |
149 | | - |
150 | | - |
151 | 149 | |
152 | 150 | |
153 | 151 | |
154 | 152 | |
155 | 153 | |
| 154 | + |
| 155 | + |
| 156 | + |
156 | 157 | |
157 | 158 | |
158 | 159 | |
|
Collapse file
test/parallel/test-worker-message-port.js
Copy file name to clipboardExpand all lines: test/parallel/test-worker-message-port.js+2-4Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
165 | 165 | |
166 | 166 | |
167 | 167 | |
168 | | - |
169 | | - |
170 | | - |
171 | | - |
| 168 | + |
| 169 | + |
172 | 170 | |
173 | 171 | |
0 commit comments