no more ";"

This commit is contained in:
Paul R. Tagliamonte 2013-03-14 16:26:05 -04:00
parent 9b32506854
commit 8a9ffa05ae

View File

@ -43,18 +43,18 @@ reload = ->
data: {'code': input}, data: {'code': input},
success: (result) -> success: (result) ->
PyCodeMirror.setValue(result) PyCodeMirror.setValue(result)
now = new Date().getTime(); now = new Date().getTime()
$("#build-msgs").text(now + " Updated.") $("#build-msgs").text(now + " Updated.")
$("#repl-root").removeClass("error") $("#repl-root").removeClass("error")
$("#repl-root").addClass("ok") $("#repl-root").addClass("ok")
statusCode: { statusCode: {
500: (response) -> 500: (response) ->
now = new Date().getTime(); now = new Date().getTime()
$("#build-msgs").text(now + " " + response.responseText) $("#build-msgs").text(now + " " + response.responseText)
$("#repl-root").removeClass("ok") $("#repl-root").removeClass("ok")
$("#repl-root").addClass("error") $("#repl-root").addClass("error")
} }
}); })
$(document).ready(-> $(document).ready(->