mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 21:57:55 +08:00
13 lines
357 B
Text
13 lines
357 B
Text
|
{ComponentRegistry, WorkspaceStore} = require 'nylas-exports'
|
||
|
|
||
|
module.exports =
|
||
|
activate: (@state={}) ->
|
||
|
UndoRedoComponent = require "./undo-redo-component"
|
||
|
|
||
|
ComponentRegistry.register UndoRedoComponent,
|
||
|
location: WorkspaceStore.Location.ThreadList
|
||
|
|
||
|
deactivate: ->
|
||
|
ComponentRegistry.unregister UndoRedoComponent
|
||
|
|
||
|
serialize: -> @state
|