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