mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 20:44:30 +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
|