Commit 168bb3d
authored
fix(changeStreams): fixing node4 issue with util.inherits (#1587)
require('util').inherits(ctor, super) blows away the original prototype
of ctor. If we wish to use it, we need to move the inherits call to
directly after the constructor creation. In the future, we should
switch to using classes.1 parent f4c1b56 commit 168bb3d
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
| |||
354 | 356 | | |
355 | 357 | | |
356 | 358 | | |
357 | | - | |
358 | | - | |
359 | 359 | | |
0 commit comments