mirror of
https://github.com/atom/atom.git
synced 2026-02-12 15:45:23 -05:00
Check deprecations flag for space pen shim inclusion
This commit is contained in:
@@ -721,7 +721,9 @@ class Atom extends Model
|
||||
|
||||
deserializeWorkspaceView: ->
|
||||
Workspace = require './workspace'
|
||||
WorkspaceView = require './workspace-view'
|
||||
|
||||
if includeDeprecations
|
||||
WorkspaceView = require './workspace-view'
|
||||
|
||||
startTime = Date.now()
|
||||
@workspace = Workspace.deserialize(@state.workspace) ? new Workspace
|
||||
|
||||
Reference in New Issue
Block a user