Mailspring/internal_packages/events/lib/main.cjsx
Ben Gotow 7190ca69f7 refactor(db): change ID system to have clientIDs and serverIDs
Summary: Major ID refactor

Test Plan: edgehill --test

Reviewers: bengotow, dillon

Differential Revision: https://phab.nylas.com/D1946
2015-08-28 11:24:29 -07:00

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