Permalink
Browse files

updated the readme

  • Loading branch information...
1 parent 62bb4fa commit 6c5a032926f89c06eea0a4a61f4939bdd53df732 @substack committed Nov 10, 2011
Showing with 2 additions and 6 deletions.
  1. +1 −1 README.markdown
  2. +1 −5 example/words.js
View
@@ -13,7 +13,7 @@ var fs = require('fs');
var out = gutter({
name : 'words',
version : '0.2.1',
- words : fs.createReadStream('/usr/share/dict/words')
+ words : fs.createReadStream('/usr/share/dict/words', { encoding : 'utf8' })
});
out.pipe(process.stdout);
View
@@ -1,14 +1,10 @@
var gutter = require('../');
var fs = require('fs');
-var es = require('event-stream');
var out = gutter({
name : 'words',
version : '0.2.1',
- words : es.connect(
- fs.createReadStream('/usr/share/dict/words'),
- es.split()
- )
+ words : fs.createReadStream('/usr/share/dict/words', { encoding : 'utf8' })
});
out.pipe(process.stdout);

0 comments on commit 6c5a032

Please sign in to comment.