mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Reference packageStates via atom.packages
This commit is contained in:
@@ -38,7 +38,7 @@ beforeEach ->
|
||||
window.project = new Project(specProjectPath)
|
||||
|
||||
window.resetTimeouts()
|
||||
atom.packageStates = {}
|
||||
atom.packages.packageStates = {}
|
||||
spyOn(atom, 'saveWindowState')
|
||||
syntax.clearGrammarOverrides()
|
||||
syntax.clearProperties()
|
||||
|
||||
@@ -76,7 +76,7 @@ window.unloadEditorWindow = ->
|
||||
windowState.set('syntax', syntax.serialize())
|
||||
windowState.set('rootView', rootView.serialize())
|
||||
atom.deactivatePackages()
|
||||
windowState.set('packageStates', atom.packageStates)
|
||||
windowState.set('packageStates', atom.packages.packageStates)
|
||||
atom.saveWindowState()
|
||||
rootView.remove()
|
||||
project.destroy()
|
||||
|
||||
Reference in New Issue
Block a user