Mailspring/internal_packages/attachments/lib/main.cjsx
Ben Gotow 91edef9f7a fix(naming): Move atom/inbox/nilas refs to Nylas
Conflicts:
	internal_packages/inbox-activity-bar/lib/activity-bar-long-poll-item.cjsx
2015-05-15 11:07:28 -07:00

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