mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Prevent showing the window via spec-bootstrap.coffee
This commit is contained in:
@@ -2,7 +2,7 @@ try
|
||||
require '../src/window'
|
||||
Atom = require '../src/atom'
|
||||
window.atom = new Atom()
|
||||
window.atom.show()
|
||||
window.atom.show() unless atom.getLoadSettings().exitWhenDone
|
||||
{runSpecSuite} = require './jasmine-helper'
|
||||
|
||||
document.title = "Spec Suite"
|
||||
|
||||
@@ -188,7 +188,6 @@ class Atom
|
||||
|
||||
show: ->
|
||||
@getCurrentWindow().show()
|
||||
(_.nextTick => @getCurrentWindow().minimize()) if @getLoadSettings().exitWhenDone
|
||||
|
||||
hide: ->
|
||||
@getCurrentWindow().hide()
|
||||
|
||||
Reference in New Issue
Block a user