Mailspring/internal_packages/feedback/lib/main.cjsx

13 lines
380 B
CoffeeScript

{WorkspaceStore, ComponentRegistry} = require 'nylas-exports'
FeedbackButton = require './feedback-button'
protocol = require('remote').require('protocol')
module.exports =
activate: (@state) ->
ComponentRegistry.register FeedbackButton,
location: WorkspaceStore.Sheet.Global.Footer
serialize: ->
deactivate: ->
ComponentRegistry.unregister(FeedbackButton)