mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
🎨
This commit is contained in:
@@ -65,7 +65,7 @@ class AtomApplication
|
||||
exit: (status) -> app.exit(status)
|
||||
|
||||
constructor: (options) ->
|
||||
{@resourcePath, @devResourcePath, @version, @devMode, @safeMode, @socketPath, @timeout} = options
|
||||
{@resourcePath, @devResourcePath, @version, @devMode, @safeMode, @socketPath, timeout} = options
|
||||
|
||||
global.atomApplication = this
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ class AtomWindow
|
||||
isSpec: null
|
||||
|
||||
constructor: (settings={}) ->
|
||||
{@resourcePath, pathToOpen, locationsToOpen, @isSpec, @headless, @safeMode, @devMode, @timeout} = settings
|
||||
{@resourcePath, pathToOpen, locationsToOpen, @isSpec, @headless, @safeMode, @devMode, timeout} = settings
|
||||
locationsToOpen ?= [{pathToOpen}] if pathToOpen
|
||||
locationsToOpen ?= []
|
||||
|
||||
|
||||
@@ -33,7 +33,6 @@ try
|
||||
|
||||
document.title = "Spec Suite"
|
||||
|
||||
timeoutCop = null
|
||||
if timeout = getWindowLoadSettings().timeout
|
||||
ChildProcess = remote.require("child_process")
|
||||
timeoutCop = ChildProcess.fork(require.resolve('./timeout-cop'), [remote.process.pid, timeout])
|
||||
|
||||
Reference in New Issue
Block a user