mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Remove rootViewStates tweak no longer needed
This commit is contained in:
@@ -41,7 +41,7 @@ windowAdditions =
|
||||
# Note: RootView assigns itself on window on initialization so that
|
||||
# window.rootView is available when loading user configuration
|
||||
attachRootView: (pathToOpen) ->
|
||||
if rootViewState = atom.rootViewStates?[$windowNumber]
|
||||
if rootViewState = atom.rootViewStates[$windowNumber]
|
||||
RootView.deserialize(JSON.parse(rootViewState))
|
||||
else
|
||||
new RootView(pathToOpen)
|
||||
|
||||
Reference in New Issue
Block a user