From ca8ae9ad6169ca490ec920e55424ee35e18e02d8 Mon Sep 17 00:00:00 2001 From: probablycorey Date: Thu, 14 Nov 2013 16:45:09 -0800 Subject: [PATCH] Remove bindingsForElement --- src/keymap.coffee | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/keymap.coffee b/src/keymap.coffee index 37992d0e0..ccb521506 100644 --- a/src/keymap.coffee +++ b/src/keymap.coffee @@ -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