This commit is contained in:
Nick Winter 2014-02-11 12:02:53 -08:00
commit d22c716dce
3 changed files with 6 additions and 0 deletions

View file

@ -208,6 +208,7 @@ class Angel
@
abort: ->
return unless @worker
@abortTimeout = _.delay @terminate, @abortTimeoutDuration
@worker.postMessage {func: 'abort'}

View file

@ -239,4 +239,5 @@ module.exports = class PlaybackView extends View
destroy: ->
super()
me.off('change:music', @updateMusicButton, @)
$(window).off('resize', @onWindowResize)

View file

@ -54,3 +54,7 @@ module.exports = class SpellPaletteEntryView extends View
@options.thang = @thang = e.selectedThang # Update our thang to the current version
@options.doc = @doc = Docs.getDocsFor(@thang, [@doc.prop])[0]
@$el.find("code.current-value").text(@doc.formatValue()) # Don't call any functions. (?? What does this mean?)
destroy: ->
@$el.off()
super()