mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Use params instead of loadSettings
This commit is contained in:
@@ -100,12 +100,12 @@ class AtomEnvironment extends Model
|
||||
|
||||
# Call .loadOrCreate instead
|
||||
constructor: (params={}) ->
|
||||
{@applicationDelegate, @window, @document} = params
|
||||
{@applicationDelegate, @window, @document, configDirPath} = params
|
||||
|
||||
@state = {version: @constructor.version}
|
||||
|
||||
@loadTime = null
|
||||
{devMode, safeMode, resourcePath, configDirPath} = @getLoadSettings()
|
||||
{devMode, safeMode, resourcePath} = @getLoadSettings()
|
||||
|
||||
@emitter = new Emitter
|
||||
@disposables = new CompositeDisposable
|
||||
|
||||
Reference in New Issue
Block a user