Commit dd66c48
doc: add emit to NodeEventTarget
NodeEventTarget.emit() is not described in document. Plus, make
type parameter of removeAllListeners as optional.
Refs: #35851
PR-URL: #46356
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>1 parent e07c9b8 commit dd66c48Copy full SHA for dd66c48
File tree
Expand file treeCollapse file tree
2 files changed
+17
-3
lines changedOpen diff view settings
Filter options
- doc/api
- lib/internal
Expand file treeCollapse file tree
2 files changed
+17
-3
lines changedOpen diff view settings
Collapse file
+16-2Lines changed: 16 additions & 2 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2334 | 2334 | |
2335 | 2335 | |
2336 | 2336 | |
| 2337 | + |
| 2338 | + |
| 2339 | + |
| 2340 | + |
| 2341 | + |
| 2342 | + |
| 2343 | + |
| 2344 | + |
| 2345 | + |
| 2346 | + |
| 2347 | + |
| 2348 | + |
| 2349 | + |
| 2350 | + |
2337 | 2351 | |
2338 | 2352 | |
2339 | 2353 | |
| ||
2395 | 2409 | |
2396 | 2410 | |
2397 | 2411 | |
2398 | | - |
| 2412 | + |
2399 | 2413 | |
2400 | 2414 | |
2401 | 2415 | |
| ||
2409 | 2423 | |
2410 | 2424 | |
2411 | 2425 | |
2412 | | - |
| 2426 | + |
2413 | 2427 | |
2414 | 2428 | |
2415 | 2429 | |
|
Collapse file
lib/internal/event_target.js
Copy file name to clipboardExpand all lines: lib/internal/event_target.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
937 | 937 | |
938 | 938 | |
939 | 939 | |
940 | | - |
| 940 | + |
941 | 941 | |
942 | 942 | |
943 | 943 | |
|
0 commit comments