Add atom prefix to keymap global

This commit is contained in:
Kevin Sawicki
2013-11-20 12:10:51 -08:00
parent 093143f7a9
commit 1e68a7266f

View File

@@ -2723,7 +2723,7 @@ describe "EditorView", ->
describe "when the escape key is pressed on the editor view", ->
it "clears multiple selections if there are any, and otherwise allows other bindings to be handled", ->
keymap.bindKeys 'name', '.editor', 'escape': 'test-event'
atom.keymap.bindKeys 'name', '.editor', 'escape': 'test-event'
testEventHandler = jasmine.createSpy("testEventHandler")
editorView.on 'test-event', testEventHandler