| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent be90817 commit 3c8daa3
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -90,12 +90,7 @@ ObjectDefineProperty(EventEmitter, 'captureRejections', { | |||
| 90 | 90 | enumerable: true | |
| 91 | 91 | }); | |
| 92 | 92 | ||
| 93 | - ObjectDefineProperty(EventEmitter, 'errorMonitor', { | ||
| 94 | - value: kErrorMonitor, | ||
| 95 | - writable: false, | ||
| 96 | - configurable: true, | ||
| 97 | - enumerable: true | ||
| 98 | - }); | ||
| 93 | + EventEmitter.errorMonitor = kErrorMonitor; | ||
| 99 | 94 | ||
| 100 | 95 | // The default for captureRejections is false | |
| 101 | 96 | ObjectDefineProperty(EventEmitter.prototype, kCapture, { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments