I encountered an indentation error in these lines
Are there any online validators that can assist me?
showAliveTests : (pageIndex, statusFilter) ->
data=
pageIndex:pageIndex
status:statusFilter
$.ajax
url:'/ManageConfiguration/GetAliveConfigurations/' + location.search
type:"post"
data:data
dataType:"json"
success:(res)->
if res.status == "failed"
alert res.body
else
$('#viewConfigurationTable tr').remove()
newRow = $ '<tr>'
newRow.append('<td>Id</td>
<td>Name</td>
<td>Status</td>
<td>Ctids</td>
<td>CreationDate</td>')
$('#viewConfigurationTable').append(newRow)
for obj in res.body
newRow = $ '<tr>'
newRow.append('<td>'+obj.Id+'</td>
<td>'+obj.Name+'</td>
<td>'+obj.Status+'</td>
<td>'+obj.Ctids+'</td>
<td>'+obj.CreationDate+'</td>')
$('#viewConfigurationTable').append(newRow)
$(#paginator a).remove()
for i in [0..count] by 1
$(#paginator).append('<a href=#>'+i+'</a>')
error:(e)->
alert 'An error has occurred: ' + e