mirror of
https://github.com/atom/atom.git
synced 2026-02-14 16:45:14 -05:00
Set config defaults for a package from its module's configDefaults
This commit is contained in:
@@ -113,6 +113,7 @@ class RootView extends View
|
||||
when 'Editor' then Editor.deserialize(viewState, this)
|
||||
|
||||
activatePackage: (name, packageModule) ->
|
||||
config.setDefaults(name, packageModule.configDefaults) if packageModule.configDefaults?
|
||||
@packageModules[name] = packageModule
|
||||
packageModule.activate(this, @packageStates[name])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user