doc: fixed syntax error in stream.Transform

archived-io.js-v0.10
ChrisWren 2013-08-11 12:30:03 -07:00 committed by isaacs
parent 31a27ca72d
commit 2385fbbc3a
1 changed files with 1 additions and 1 deletions

View File

@ -1126,7 +1126,7 @@ approach.
```javascript ```javascript
var util = require('util'); var util = require('util');
var Transform = require('stream').Transform); var Transform = require('stream').Transform;
util.inherits(SimpleProtocol, Transform); util.inherits(SimpleProtocol, Transform);
function SimpleProtocol(options) { function SimpleProtocol(options) {