Initial
This commit is contained in:
commit
5ed915c6c5
8 changed files with 329 additions and 0 deletions
13
events/listing_3.js
Normal file
13
events/listing_3.js
Normal 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;
|
||||
Reference in a new issue