mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Atom.show no longer used
The window is shown automatically when it is created.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
try
|
||||
require 'atom'
|
||||
atom.show()
|
||||
{runSpecSuite} = require 'jasmine-helper'
|
||||
|
||||
document.title = "Spec Suite"
|
||||
|
||||
@@ -208,9 +208,6 @@ window.atom =
|
||||
focus: ->
|
||||
@sendMessageToBrowserProcess('focus')
|
||||
|
||||
show: ->
|
||||
@sendMessageToBrowserProcess('show')
|
||||
|
||||
exit: (status) ->
|
||||
@sendMessageToBrowserProcess('exit', [status])
|
||||
|
||||
|
||||
@@ -4,5 +4,4 @@ require 'window'
|
||||
|
||||
window.setUpEnvironment()
|
||||
window.startConfigWindow()
|
||||
atom.show()
|
||||
console.log "Load time: #{new Date().getTime() - date}"
|
||||
|
||||
@@ -5,5 +5,4 @@ require 'window'
|
||||
|
||||
window.setUpEnvironment()
|
||||
window.startEditorWindow()
|
||||
setTimeout((-> atom.show()), 0)
|
||||
console.log "Load time: #{new Date().getTime() - date}"
|
||||
|
||||
Reference in New Issue
Block a user