   # Deprecated: Use {::addKeyBindings} with a map from selectors to key
   # bindings.
   bindKeys: (source, selector, keyBindings) ->
-    @addKeyBindingsForSelector(source, selector, keyBindings)
+    keyBindingsBySelector = {}
+    keyBindingsBySelector[selector] = keyBindings
+    @addKeyBindings(source, keyBindingsBySelector)
 
   # Deprecated: Use {::findKeyBindings} with the 'command' param.
   keyBindingsForCommand: (command) ->

  #   keystroke patterns to commands.
  addKeyBindings: (source, keyBindingsBySelector) ->
    for selector, keyBindings of keyBindingsBySelector
      @addKeyBindingsForSelector(source, selector, keyBindings)

  # Public: Load the key bindings from the given path.
  #

        @keystrokes = []
        return if @dispatchCommandEvent(event, target, candidateBindings[0].command)
      target = target.parentElement

  # Public: Get the key bindings for a given command and optional target.
  #
