Slight tweak.

This commit is contained in:
Scott Erickson 2014-03-16 20:36:02 -07:00
parent dc32add6cb
commit 17af4cec0c

View file

@ -19,6 +19,7 @@ module.exports = class Simulator extends CocoClass
# TODO: More teardown? # TODO: More teardown?
fetchAndSimulateTask: => fetchAndSimulateTask: =>
return if @destroyed
@trigger 'statusUpdate', 'Fetching simulation data!' @trigger 'statusUpdate', 'Fetching simulation data!'
$.ajax $.ajax
url: @taskURL url: @taskURL