| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 1 1 3 2 2 2 1 1 1 1 | 'use strict';
var BaseStream = require('./BaseStream.js');
var CustomStream = function CustomStream(name) {
if (this instanceof CustomStream) {
this.init();
this.name = name;
return this;
}
return new CustomStream(name);
};
CustomStream.prototype = new BaseStream();
CustomStream.prototype.constructor = CustomStream;
module.exports = CustomStream;
|