mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-05 22:04:34 +03:00
Rename root-view to workspace-view
This commit is contained in:
parent
40d7fb3c45
commit
2e801fbf87
@ -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'
|
||||
|
@ -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'
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user