mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 21:57:55 +08:00
12 lines
275 B
CoffeeScript
12 lines
275 B
CoffeeScript
|
{ComponentRegistry, DraftStore} = require 'nylas-exports'
|
||
|
Extension = require './draft-extension'
|
||
|
|
||
|
module.exports =
|
||
|
activate: (@state={}) ->
|
||
|
DraftStore.registerExtension(Extension)
|
||
|
|
||
|
deactivate: ->
|
||
|
DraftStore.unregisterExtension(Extension)
|
||
|
|
||
|
serialize: -> @state
|