Remove rootViewStates tweak no longer needed

This commit is contained in:
Kevin Sawicki
2012-06-07 13:39:14 -07:00
parent a644ed35ba
commit 5564d4b84a

View File

@@ -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)