mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 04:25:31 +08:00
16 lines
421 B
CoffeeScript
16 lines
421 B
CoffeeScript
React = require 'react'
|
|
{ComponentRegistry, WorkspaceStore} = require 'nylas-exports'
|
|
DeveloperBar = require './developer-bar'
|
|
|
|
module.exports =
|
|
item: null
|
|
|
|
activate: (@state={}) ->
|
|
WorkspaceStore.defineSheet 'Main', {root: true},
|
|
popout: ['Center']
|
|
|
|
ComponentRegistry.register DeveloperBar,
|
|
location: WorkspaceStore.Location.Center
|
|
|
|
deactivate: ->
|
|
ComponentRegistry.unregister DeveloperBar
|