mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Move window.deserializeEditorWindow to Atom class
This commit is contained in:
@@ -33,7 +33,7 @@ window.startEditorWindow = ->
|
||||
atom.keymap.loadBundledKeymaps()
|
||||
atom.themes.loadBaseStylesheets()
|
||||
atom.packages.loadPackages()
|
||||
deserializeEditorWindow()
|
||||
atom.deserializeEditorWindow()
|
||||
atom.packages.activate()
|
||||
atom.keymap.loadUserKeymap()
|
||||
atom.requireUserInitScript()
|
||||
@@ -68,11 +68,6 @@ installApmCommand = (callback) ->
|
||||
commandPath = path.join(resourcePath, 'node_modules', '.bin', 'apm')
|
||||
require('./command-installer').install(commandPath, callback)
|
||||
|
||||
window.deserializeEditorWindow = ->
|
||||
atom.deserializePackageStates()
|
||||
atom.deserializeProject()
|
||||
atom.deserializeRootView()
|
||||
|
||||
window.onerror = ->
|
||||
atom.openDevTools()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user