 
   onDidUpdateProgress: (f) -> @emitter.on 'did-update-progress', f
 
-  onDidDestroyProgress: (f) -> @emitter.on 'did-destroy-progress', f
-
+  # UI elements:
   progressView: (p) ->
     span = document.createElement 'span'
     span.id = "ink-prog-#{p.id}"

    @activate()
    i = @stack.findIndex (e) -> e.id is p.id
    return if i < 0
    @stack[i] = p
    @emitter.emit 'did-update-progress', p

  emptyStack: () ->
    @stack = []
    @emitter.emit 'did-update-stack'

  hasNoDeterminateBars: ->
    @stack.filter((p) => p.determinate).length is 0



    div

  tileView: ->
    span = document.createElement 'span'
    span.classList.add 'inline-block'
