Mailspring/internal_packages/attachments/lib/main.cjsx
Ben Gotow 9378f4480c 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

14 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