Add WorkspaceView and atom.workspaceView shims

This commit is contained in:
Kevin Sawicki
2013-11-26 09:13:06 -08:00
parent 79c6badce8
commit f8ed6eadc8
2 changed files with 6 additions and 0 deletions

View File

@@ -43,6 +43,11 @@ class Atom
@rootViewParentSelector = 'body'
@deserializers = new DeserializerManager()
#TODO Remove once all `atom.rootView` references have been updated
Object.defineProperty this, 'workspaceView',
get: -> @rootView
set: (workspaceView) -> @rootView = workspaceView
# Private: Initialize all the properties in this object.
initialize: ->
@unsubscribe()