| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7ad6cfa commit 1e4edd8
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -974,9 +974,8 @@ There are two key differences between the Node.js `EventTarget` and the | |||
| 974 | 974 | ||
| 975 | 975 | The `NodeEventTarget` object implements a modified subset of the | |
| 976 | 976 | `EventEmitter` API that allows it to closely *emulate* an `EventEmitter` in | |
| 977 | - certain situations. It is important to understand, however, that an | ||
| 978 | - `NodeEventTarget` is *not* an instance of `EventEmitter` and cannot be used in | ||
| 979 | - place of an `EventEmitter` in most cases. | ||
| 977 | + certain situations. A `NodeEventTarget` is *not* an instance of `EventEmitter` | ||
| 978 | + and cannot be used in place of an `EventEmitter` in most cases. | ||
| 980 | 979 | ||
| 981 | 980 | 1. Unlike `EventEmitter`, any given `listener` can be registered at most once | |
| 982 | 981 | per event `type`. Attempts to register a `listener` multiple times will be | |
| Back | FazBrowse Home | New Git URL |
0 commit comments