mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 13:44:41 +08:00
13 lines
313 B
Text
13 lines
313 B
Text
|
{ComponentRegistry, WorkspaceStore} = require 'nylas-exports'
|
||
|
|
||
|
module.exports =
|
||
|
activate: (@state={}) ->
|
||
|
EventComponent = require "./event-component"
|
||
|
|
||
|
ComponentRegistry.register EventComponent,
|
||
|
role: 'Event'
|
||
|
|
||
|
deactivate: ->
|
||
|
ComponentRegistry.unregister EventComponent
|
||
|
|
||
|
serialize: -> @state
|