Handle annotation Pusher payloads

This commit is contained in:
Henrik Hodne 2013-07-11 11:24:55 -07:00
parent 5ec9199677
commit c912634dd0

View File

@ -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)