mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Construct Keymap with options object
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user