Rename root-view to workspace-view

This commit is contained in:
Kevin Sawicki 2013-11-26 10:15:39 -08:00
parent 40d7fb3c45
commit 2e801fbf87
4 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ unless process.env.ATOM_SHELL_INTERNAL_RUN_AS_NODE
module.exports.$$ = $$
module.exports.$$$ = $$$
module.exports.Editor = require '../src/editor-view'
module.exports.WorkspaceView = require '../src/root-view'
module.exports.WorkspaceView = require '../src/workspace-view'
module.exports.SelectList = require '../src/select-list'
module.exports.ScrollView = require '../src/scroll-view'
module.exports.Task = require '../src/task'

View File

@ -1,4 +1,4 @@
WorkspaceView = require '../src/root-view'
WorkspaceView = require '../src/workspace-view'
EditorView = require '../src/editor-view'
{$, $$} = require '../src/space-pen-extensions'
_ = require 'underscore-plus'

View File

@ -141,7 +141,7 @@ class Atom
# Private:
deserializeWorkspaceView: ->
WorkspaceView = require './root-view'
WorkspaceView = require './workspace-view'
state = @getWindowState()
@workspaceView = @deserializers.deserialize(state.get('workspaceView'))
unless @workspaceView?
@ -171,7 +171,7 @@ class Atom
@windowEventHandler = new WindowEventHandler
@restoreDimensions()
@config.load()
@config.setDefaults('core', require('./root-view').configDefaults)
@config.setDefaults('core', require('./workspace-view').configDefaults)
@config.setDefaults('editor', require('./editor-view').configDefaults)
@keymap.loadBundledKeymaps()
@themes.loadBaseStylesheets()