#= require nanobar.js
class @PodsProgressBar
  update: (factor) ->
    progress = factor * 100
    @nanobar.go(progress)
  start: ->
    @nanobar = new Nanobar
      target: $('.progress-container').get(0)
      id: 'pods-progress'
  
#= require nanobar.js
class @PodsProgressBar
  update: (factor) ->
    progress = factor * 100
    @nanobar.go(progress)
  start: ->
    $container = $('.progress-container').empty()
    @nanobar = new Nanobar
      target: $container.get(0)
      id: 'pods-progress'
  
Reset progress bar before start.
Reset progress bar before start.
