diff options
Diffstat (limited to 'deps/npm/node_modules/readable-stream/lib/_stream_duplex.js')
-rw-r--r-- | deps/npm/node_modules/readable-stream/lib/_stream_duplex.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/npm/node_modules/readable-stream/lib/_stream_duplex.js b/deps/npm/node_modules/readable-stream/lib/_stream_duplex.js index c599463dd8..1045089182 100644 --- a/deps/npm/node_modules/readable-stream/lib/_stream_duplex.js +++ b/deps/npm/node_modules/readable-stream/lib/_stream_duplex.js @@ -28,7 +28,7 @@ /*<replacement>*/ -var processNextTick = require('process-nextick-args'); +var pna = require('process-nextick-args'); /*</replacement>*/ /*<replacement>*/ @@ -82,7 +82,7 @@ function onend() { // no more data can be written. // But allow more writes to happen in this tick. - processNextTick(onEndNT, this); + pna.nextTick(onEndNT, this); } function onEndNT(self) { @@ -114,7 +114,7 @@ Duplex.prototype._destroy = function (err, cb) { this.push(null); this.end(); - processNextTick(cb, err); + pna.nextTick(cb, err); }; function forEach(xs, f) { |