This commit is contained in:
Ryan McGrath 2011-02-18 04:25:06 -05:00
commit 5ed915c6c5
8 changed files with 329 additions and 0 deletions

13
events/listing_3.js Normal file
View file

@ -0,0 +1,13 @@
var util = require('util'),
http = require('http'),
events = require('events');
var TwitterStream = function(opts) {
this.username = opts.username;
this.password = opts.password;
this.track = opts.track;
this.data = '';
};
TwitterStream.prototype = new events.EventEmitter;
module.exports = TwitterStream;