mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 05:41:05 +08:00
12 lines
330 B
CoffeeScript
12 lines
330 B
CoffeeScript
|
{ExtensionRegistry} = require 'nylas-exports'
|
||
|
SendAndArchiveExtension = require './send-and-archive-extension'
|
||
|
|
||
|
module.exports =
|
||
|
activate: (@state={}) ->
|
||
|
ExtensionRegistry.Composer.register(SendAndArchiveExtension)
|
||
|
|
||
|
deactivate: ->
|
||
|
ExtensionRegistry.Composer.unregister(SendAndArchiveExtension)
|
||
|
|
||
|
serialize: -> @state
|