|
|
|
|
|
by ch0wn
4519 days ago
|
|
Those are not equivalent. You still have to pass on the parameters: this.setup = function () {
this.on('tweet', (e, data) => this.handleStreamEvent('tweet', e, data));
this.on('retweet', (e, data) => this.handleStreamEvent('retweet', e, data));
};
|
|