mirror of https://github.com/nodejs/node.git
doc: fixed syntax error in stream.Transform
parent
31a27ca72d
commit
2385fbbc3a
|
@ -1126,7 +1126,7 @@ approach.
|
|||
|
||||
```javascript
|
||||
var util = require('util');
|
||||
var Transform = require('stream').Transform);
|
||||
var Transform = require('stream').Transform;
|
||||
util.inherits(SimpleProtocol, Transform);
|
||||
|
||||
function SimpleProtocol(options) {
|
||||
|
|
Loading…
Reference in New Issue