Handle annotation Pusher payloads
This commit is contained in:
parent
5ec9199677
commit
c912634dd0
|
@ -83,6 +83,8 @@ $.extend Travis.Pusher.prototype,
|
|||
{ job: data }
|
||||
when 'worker:added', 'worker:updated', 'worker:removed'
|
||||
{ worker: data }
|
||||
when 'annotation:created', 'annotation:updated'
|
||||
{ annotation: data }
|
||||
|
||||
warn: (type, warning) ->
|
||||
console.warn(warning) unless @ignoreWarning(warning)
|
||||
|
|
Loading…
Reference in New Issue
Block a user