     keystroke = this.keystrokeForKeyboardEvent(event)
 
     # We dont care about bare modifier keys in the bindings. e.g. `ctrl y` isnt going to work.
-    if event.type is 'keydown' and @queuedKeystrokes.length > 0 and isBareModifier(keystroke)
+    if event.type is 'keydown' and this.queuedKeystrokes.length > 0 and isBareModifier(keystroke)
       event.preventDefault()
       return
 

      )
      enableTimeout = false if replay
      this.enterPendingState(partialMatches, enableTimeout)
    else if not dispatchedExactMatch? and not hasPartialMatches and @pendingPartialMatches?
      # There are partial matches from a previous event, but none from this
      # event. This means the current event has removed any hope that the queued
      # key events will ever match any binding. So we will clear the state and

  #   * `which`  A {Number} indicating `which` value of the event. See
  #     the docs for KeyboardEvent for more information.
  #   * `target` The target element of the event.
  KeymapManager.buildKeydownEvent = (key, options) ->
    keydownEvent(key, options)

  KeymapManager.buildKeyupEvent = (key, options) ->
    keyupEvent(key, options)

  ###
