Remove bindingsForElement

This commit is contained in:
probablycorey 2013-11-14 16:45:09 -08:00
parent 2fb00af255
commit ca8ae9ad61

View File

@ -195,13 +195,3 @@ class Keymap
when 32 then 'space'
when 127 then 'delete'
else String.fromCharCode(charCode)
#
# Deprecated
#
bindingsForElement: (element) ->
keystrokeMap = {}
mappings = @mappingsMatchingElement(@allMappings(), element)
keystrokeMap[keystroke] ?= command for {command, keystroke} in mappings
keystrokeMap