mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-10 02:03:07 +08:00
punt(files): Temporarily disable the files package
This commit is contained in:
parent
73ee5c0227
commit
b74372a7f4
1 changed files with 19 additions and 19 deletions
|
@ -7,24 +7,24 @@ FileSelectionBar = require './file-selection-bar'
|
|||
module.exports =
|
||||
|
||||
activate: (@state={}) ->
|
||||
WorkspaceStore.defineSheet 'Files', {root: true, supportedModes: ['list'], name: 'Files'},
|
||||
list: ['RootSidebar', 'FileList']
|
||||
|
||||
WorkspaceStore.defineSheet 'File', {supportedModes: ['list']},
|
||||
list: ['File']
|
||||
|
||||
ComponentRegistry.register FileList,
|
||||
location: WorkspaceStore.Location.FileList
|
||||
|
||||
ComponentRegistry.register FileSelectionBar,
|
||||
location: WorkspaceStore.Location.FileList.Toolbar
|
||||
|
||||
ComponentRegistry.register FileFrame,
|
||||
location: WorkspaceStore.Location.File
|
||||
# WorkspaceStore.defineSheet 'Files', {root: true, supportedModes: ['list'], name: 'Files'},
|
||||
# list: ['RootSidebar', 'FileList']
|
||||
#
|
||||
# WorkspaceStore.defineSheet 'File', {supportedModes: ['list']},
|
||||
# list: ['File']
|
||||
#
|
||||
# ComponentRegistry.register FileList,
|
||||
# location: WorkspaceStore.Location.FileList
|
||||
#
|
||||
# ComponentRegistry.register FileSelectionBar,
|
||||
# location: WorkspaceStore.Location.FileList.Toolbar
|
||||
#
|
||||
# ComponentRegistry.register FileFrame,
|
||||
# location: WorkspaceStore.Location.File
|
||||
|
||||
deactivate: ->
|
||||
ComponentRegistry.unregister(FileList)
|
||||
ComponentRegistry.unregister(FileSelectionBar)
|
||||
ComponentRegistry.unregister(FileFrame)
|
||||
WorkspaceStore.undefineSheet('Files')
|
||||
WorkspaceStore.undefineSheet('File')
|
||||
# ComponentRegistry.unregister(FileList)
|
||||
# ComponentRegistry.unregister(FileSelectionBar)
|
||||
# ComponentRegistry.unregister(FileFrame)
|
||||
# WorkspaceStore.undefineSheet('Files')
|
||||
# WorkspaceStore.undefineSheet('File')
|
||||
|
|
Loading…
Reference in a new issue