Browse Source

doc: Fix argument typo in SimpleProtocol example

v0.10.25-release
gluxon 11 years ago
committed by Timothy J Fontaine
parent
commit
56913d2cde
  1. 2
      doc/api/stream.markdown

2
doc/api/stream.markdown

@ -751,7 +751,7 @@ util.inherits(SimpleProtocol, Readable);
function SimpleProtocol(source, options) {
if (!(this instanceof SimpleProtocol))
return new SimpleProtocol(options);
return new SimpleProtocol(source, options);
Readable.call(this, options);
this._inBody = false;

Loading…
Cancel
Save