mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-25 23:54:23 +03:00
Remove bindingsForElement
This commit is contained in:
parent
2fb00af255
commit
ca8ae9ad61
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user