Mailspring/internal_packages/composer-spellcheck/lib/main.coffee

12 lines
345 B
CoffeeScript
Raw Normal View History

{ExtensionRegistry} = require 'nylas-exports'
SpellcheckComposerExtension = require './spellcheck-composer-extension'
module.exports =
activate: (@state={}) ->
ExtensionRegistry.Composer.register(SpellcheckComposerExtension)
deactivate: ->
ExtensionRegistry.Composer.unregister(SpellcheckComposerExtension)
serialize: -> @state