Update remove spec

This commit is contained in:
probablycorey
2013-11-15 14:09:24 -08:00
parent 29c3fadb6f
commit 80cdf61fa4
2 changed files with 7 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ class Keymap
@bindKeys(source, selector, keyMappings)
remove: (source) ->
@keyBindings = @keyBindings.filter (keyBinding) -> keyBinding.source is source
@keyBindings = @keyBindings.filter (keyBinding) -> keyBinding.source isnt source
# Public: Returns an array of all {KeyBinding}s
getKeyBindings: ->