Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Mistake in Readme example

  • Loading branch information...
commit c4d2ab0a020b9022af28803a23f7f3959780a522 1 parent 21f79a4
@dmongeau dmongeau authored
Showing with 4 additions and 2 deletions.
  1. +1 −1  README.md
  2. +2 −0  lib/processor.js
  3. +1 −1  package.json
View
2  README.md
@@ -31,6 +31,6 @@ Usage
}
});
- processor.on('data',function(tweet) {
+ processor.on('tweet',function(tweet) {
console.log(tweet.addedKey); //value
});
View
2  lib/processor.js
@@ -79,7 +79,9 @@ TwitterProcessor.prototype.init = function() {
//When a job is processed
this.queue.on('job end', function(job) {
+
self.emit('tweet',job.data);
+
});
};
View
2  package.json
@@ -13,7 +13,7 @@
"David Mongeau-Petitpas <dmp@atelierfolklore.ca>",
"François Côté <fc@atelierfolklore.ca>"
],
- "version": "0.0.8-1",
+ "version": "0.0.8-2",
"dependencies": {
"ntwitter" : "0.5.x",
"queueleuleu" : "0.x"
Please sign in to comment.
Something went wrong with that request. Please try again.