Permalink
Browse files

CAPSLOCK: LOWWATERMARK AND ENCODING ARE NECESSARY HERE

  • Loading branch information...
1 parent 51c0272 commit ffa2bed4c69396aabde8c2118ea8ba37e27faee1 @isaacs isaacs committed Oct 5, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 examples/CAPSLOCKTYPER.JS
@@ -3,7 +3,10 @@ var inherits = require('util').inherits;
// subclass
function MyStream () {
- Transform.call(this);
+ Transform.call(this, {
+ lowWaterMark: 0,
+ encoding: 'utf8'
+ });
}
inherits(MyStream, Transform);

0 comments on commit ffa2bed

Please sign in to comment.