 
             callback?()
 
-
     render: ->
         return if not @model.synced and @model.isEmpty?()
-        @$el.html @template(@renderData())
+        @$el.html @template @renderData()
 
     renderData: ->
         data =


        data


    killPrompt: ->
        @taskModel.promptKill @killType, =>
            if @killType is 'kill9'
                @model.set 'killStatus', 'kill9'

            # Poll for 'Cleanup' changes so we can 
            # update kill messages/buttons
            x = 0
            taskKillInterval = setInterval((=>
                @trigger 'refreshrequest'
                @getCleaningStatus()

                if ++x == 4 or  !@model.get 'isStillRunning'
                    clearInterval taskKillInterval 
                return

            ), 1500)


    
    killTask: (event) ->
        @killType = $(event.currentTarget).data('kill-type')      




module.exports = taskOverviewSubview