mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 12:40:08 +08:00
7190ca69f7
Summary: Major ID refactor Test Plan: edgehill --test Reviewers: bengotow, dillon Differential Revision: https://phab.nylas.com/D1946
13 lines
314 B
CoffeeScript
13 lines
314 B
CoffeeScript
{ComponentRegistry, WorkspaceStore} = require 'nylas-exports'
|
|
|
|
module.exports =
|
|
activate: (@state={}) ->
|
|
EventComponent = require "./event-component"
|
|
|
|
ComponentRegistry.register EventComponent,
|
|
role: 'Event'
|
|
|
|
deactivate: ->
|
|
ComponentRegistry.unregister EventComponent
|
|
|
|
serialize: -> @state
|