     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()

  shouldAllowDrag: ->
    (@paneContainer.getPanes().length > 1) or (@pane.getItems().length > 1)

  onDragStart: (event) =>
    return unless matches(event.target, '.sortable')

    event.dataTransfer.setData 'atom-event', 'true'

      @wheelDelta = 0
      @pane.activatePreviousItem()

  onMouseDown: (event) ->
    return unless matches(event.target, ".tab")

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