mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 12:40:08 +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
|