no more ";"
This commit is contained in:
parent
9b32506854
commit
8a9ffa05ae
@ -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(->
|
||||||
|
Loading…
Reference in New Issue
Block a user