mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-23 23:54:13 +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
|