Add KeymapManager::onDidLoadBundledKeymaps

This commit is contained in:
Ben Ogle
2014-09-10 17:28:47 -07:00
parent 7625e5352d
commit 70e1d14f96
3 changed files with 7 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ class ContextMenuManager
@commandOptions = x: e.pageX, y: e.pageY
]
atom.keymaps.on 'bundled-keymaps-loaded', => @loadPlatformItems()
atom.keymaps.onDidLoadBundledKeymaps => @loadPlatformItems()
loadPlatformItems: ->
menusDirPath = path.join(@resourcePath, 'menus')