ensure internal streams have same constructor as public streams

This commit is contained in:
Leo Horie 2016-08-24 01:08:20 -04:00
parent 678e4912c7
commit f201ea73ff
7 changed files with 39 additions and 33 deletions

View file

@ -3,8 +3,7 @@
var buildQueryString = require("../querystring/build")
var StreamFactory = require("../util/stream")
module.exports = function($window, log) {
var Stream = StreamFactory(log)
module.exports = function($window, Stream) {
var callbackCount = 0
var oncompletion