Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
askmike committed Feb 3, 2015
1 parent 5bc9e13 commit e6d438f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions gekko.js
Expand Up @@ -82,17 +82,6 @@ var invalid = exchangeChecker.cantMonitor(config.watch);

var BudFox = require(dirs.budfox + 'budfox');

function StringifyStream(){
require('stream').Transform.call(this);
this._readableState.objectMode = false;
this._writableState.objectMode = true;
}
require('util').inherits(StringifyStream, require('stream').Transform);
StringifyStream.prototype._transform = function(obj, encoding, cb){
this.push(JSON.stringify(obj) + '\n');
cb();
};

new BudFox(config.watch)
.start()
.pipe(new require('stringify-stream')())
Expand Down

0 comments on commit e6d438f

Please sign in to comment.