     catch error
       false
 
-  onDragLeave: (event) =>
+  onDragLeave: (event) ->
     @removePlaceholder()
 
-  onDragEnd: (event) =>
+  onDragEnd: (event) ->
     return unless matches(event.target, '.sortable')
 
     @clearDropTarget()
 
-  onDragOver: (event) =>
+  onDragOver: (event) ->
     unless event.dataTransfer.getData('atom-event') is 'true'
       event.preventDefault()
       event.stopPropagation()

      @pane.destroyItem(tab.item)
      event.preventDefault()

  onDoubleClick: (event) =>
    if event.target is this
      atom.commands.dispatch(this, 'application:new-file')
      event.preventDefault()

  onClick: (event) =>
    return unless matches(event.target, ".tab .close-icon")

    tab = closest(event.target, '.tab')

    @removeDropTargetClasses()
    @removePlaceholder()

  onDrop: (event) ->
    event.preventDefault()

    return unless event.dataTransfer.getData('atom-event') is 'true'
