Access keymap via atom global

This commit is contained in:
Kevin Sawicki
2013-09-30 13:45:27 -07:00
parent dde7ccadd4
commit 022db0fc44

View File

@@ -36,8 +36,8 @@ window.setUpEnvironment = (windowMode) ->
# This should only be called after setUpEnvironment() has been called.
window.setUpDefaultEvents = ->
windowEventHandler = new WindowEventHandler
keymap.loadBundledKeymaps()
ipc.sendChannel 'update-application-menu', keymap.keystrokesByCommandForSelector('body')
atom.keymap.loadBundledKeymaps()
ipc.sendChannel 'update-application-menu', atom.keymap.keystrokesByCommandForSelector('body')
# This method is only called when opening a real application window
window.startEditorWindow = ->