Menu bar does not directly access the keymap anymore

This makes the keyBindingsForCommand methods obsolete
This commit is contained in:
probablycorey
2013-08-17 10:11:44 -07:00
committed by Corey Johnson & Nathan Sobo
parent 37c17075ea
commit 6e3517dd4a
4 changed files with 8 additions and 21 deletions

View File

@@ -55,7 +55,7 @@ window.startEditorWindow = ->
atom.activatePackages()
keymap.loadUserKeymaps()
atom.requireUserInitScript()
MenuBar.show()
MenuBar.show(keymap.toObject())
$(window).on 'unload', -> unloadEditorWindow(); false
atom.show()
atom.focus()