   clearJumpMode: ->
       @clearKeys()
       $('#status-bar-jumpy').html("")
-      atom.workspaceView.find('.jumpy').remove()
-      atom.workspaceView.eachEditorView (e) -> e.removeClass 'jumpy-specificity-1 jumpy-specificity-2 jumpy-jump-mode'
+      atom.workspaceView.eachEditorView (e) ->
+          e.find('.jumpy').remove()
+          e.removeClass 'jumpy-specificity-1 jumpy-specificity-2 jumpy-jump-mode'
       @detach()
 
   jump: ->


module.exports =
class JumpyView extends View
  @content: ->
    @div ''

  initialize: (serializeState) ->
    @pixels = @getAllPixelLocations()
    atom.workspaceView.command "jumpy:toggle", => @toggle()
    atom.workspaceView.command "jumpy:clear", => @clear()
    that = this

      console.log "Jumpy jumped to: #{@firstChar}#{@secondChar} at (#{location})"

  findLocation: ->
      bufferPosition = @allPositions[0]["#{@firstChar}#{@secondChar}"]
      return null unless bufferPosition
      return bufferPosition

  # Returns an object that can be retrieved when package is activated
  serialize: ->
