Skip to content
This repository has been archived by the owner on Dec 4, 2019. It is now read-only.

Commit

Permalink
Fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
r7kamura committed Jul 6, 2013
1 parent 3c31811 commit c6b812f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/assets/javascripts/events.js.coffee
Expand Up @@ -8,11 +8,11 @@ $ ->
$('.jobs_controller.show_action').each ->
event = new Altria.ServerEvent()
event.on 'build.finished', (attributes) ->
$.ajax "/builds/#{attributes.id}", data: { type: 'list' }, success: (data) ->
$("#build#{attributes.id}").replaceWith(data)
$.ajax "/builds/#{attributes.id}", data: { type: 'list' }, success: (data) ->
$("#build#{attributes.id}").replaceWith(data)
event.on 'build.started', (attributes) ->
$.ajax "/builds/#{attributes.id}", data: { type: 'list' }, success: (data) ->
$('.builds ul').prepend(data)
$.ajax "/builds/#{attributes.id}", data: { type: 'list' }, success: (data) ->
$('.builds ul').prepend(data)

$('.builds_controller.show_action').each ->
new Altria.ServerEvent()
Expand Down

0 comments on commit c6b812f

Please sign in to comment.