From 022db0fc44e9f05bc204a7cc302a1c3c1ac372e7 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 30 Sep 2013 13:45:27 -0700 Subject: [PATCH] Access keymap via atom global --- src/window.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/window.coffee b/src/window.coffee index f54d8fd44..72c29d1ec 100644 --- a/src/window.coffee +++ b/src/window.coffee @@ -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 = ->