Construct Keymap with options object

This commit is contained in:
Nathan Sobo
2014-03-17 11:45:24 -06:00
parent 3d28f957c7
commit dcdc9d6b90
2 changed files with 2 additions and 4 deletions

View File

@@ -14,7 +14,7 @@
"atomShellVersion": "0.10.7",
"dependencies": {
"async": "0.2.6",
"atom-keymap": "^0.6.0",
"atom-keymap": "^0.7.0",
"bootstrap": "git://github.com/atom/bootstrap.git#6af81906189f1747fd6c93479e3d998ebe041372",
"clear-cut": "0.4.0",
"coffee-script": "1.7.0",

View File

@@ -149,9 +149,7 @@ class Atom extends Model
configDirPath = @getConfigDirPath()
@config = new Config({configDirPath, resourcePath})
@keymap = new Keymap
@keymap.configDirPath = configDirPath
@keymap.resourcePath = resourcePath
@keymap = new Keymap({configDirPath, resourcePath})
@packages = new PackageManager({devMode, configDirPath, resourcePath})
@themes = new ThemeManager({packageManager: @packages, configDirPath, resourcePath})
@contextMenu = new ContextMenuManager(devMode)