mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 04:25:31 +08:00
91edef9f7a
Conflicts: internal_packages/inbox-activity-bar/lib/activity-bar-long-poll-item.cjsx
13 lines
327 B
CoffeeScript
13 lines
327 B
CoffeeScript
{ComponentRegistry} = require 'nylas-exports'
|
|
|
|
module.exports =
|
|
activate: (@state={}) ->
|
|
AttachmentComponent = require "./attachment-component"
|
|
|
|
ComponentRegistry.register AttachmentComponent,
|
|
role: 'Attachment'
|
|
|
|
deactivate: ->
|
|
ComponentRegistry.unregister AttachmentComponent
|
|
|
|
serialize: -> @state
|