mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-10-05 10:56:41 +08:00
Moved to git@github.com:nylas/N1-private-packages.git Also started an "examples" folder at the root level with an example Github package
12 lines
325 B
CoffeeScript
12 lines
325 B
CoffeeScript
{ComponentRegistry} = require 'nylas-exports'
|
|
ViewOnGithubButton = require "./view-on-github-button"
|
|
|
|
module.exports =
|
|
activate: (@state={}) ->
|
|
ComponentRegistry.register ViewOnGithubButton,
|
|
roles: ['message:Toolbar']
|
|
|
|
deactivate: ->
|
|
ComponentRegistry.unregister(ViewOnGithubButton)
|
|
|
|
serialize: -> @state
|