 {$, ScrollView} = require 'atom-space-pen-views'
+{CompositeDisposable} = require 'atom'
 ErrorView = require './error-view'
 PackageCard = require './package-card'
 

      @updatesContainer.append(new PackageCard(pack, @packageManager, {back: 'Updates'}))

  updateAll: ->
    @updateAllButton.prop('disabled', true)

    packageCards = @getPackageCards()

          atom.notifications.addSuccess(message, {dismissable: true, buttons})

        if successfulUpdatesCount is totalUpdatesCount
          @checkButton.prop('disabled', false)
          @updateAllButton.hide()
        else # Some updates failed
          @checkButton.prop('disabled', false)
          @updateAllButton.prop('disabled', false)

    onUpdateResolved = ->
