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

12 lines
275 B
CoffeeScript
Raw Normal View History

{ComponentRegistry, DraftStore} = require 'nylas-exports'
Extension = require './draft-extension'
module.exports =
activate: (@state={}) ->
DraftStore.registerExtension(Extension)
deactivate: ->
DraftStore.unregisterExtension(Extension)
serialize: -> @state