Implement new event marshalling system
This commit is contained in:
@@ -78,8 +78,8 @@ EventPoller.prototype._successfulPoll = function(data) {
|
||||
|
||||
var that = this;
|
||||
$(data['events']).each(function(idx, evt) {
|
||||
console.log(evt['event']['type']);
|
||||
that.dispatchEvent(evt['event']);
|
||||
console.log(evt['type']);
|
||||
that.dispatchEvent(evt);
|
||||
});
|
||||
|
||||
if (data['is-live']) {
|
||||
|
||||
Reference in New Issue
Block a user