           and target.webkitMatchesSelector(binding.selector)
       .sort (a, b) -> a.compare(b)
 
-  # Public: Get the keybindings for a given command and optional target.
+  # Public: Get the key bindings for a given command and optional target.
   #
   # params - An {Object} whose keys constrain the binding search:
   #   :command - A {String} representing the name of a command, such as

    try
      document.body.webkitMatchesSelector(selector.replace(/!important/g, ''))
    catch
      console.warn("Encountered an invalid selector adding keybindings from '#{source}': '#{selector}'")
      return

    for keystroke, command of keyBindings

  keystrokeStringForEvent: (event) ->
    @keystrokeForKeyboardEvent(event.originalEvent ? event)

  # Deprecated: Use {::addKeyBindings} with a map from selectors to key
  # bindings.
  bindKeys: (source, selector, keyBindings) ->
    @addKeyBindingsForSelector(source, selector, keyBindings)

