mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +08:00
a37e567888
Summary: Simplify the default window size, restore window size when the main window is loaded, fix serialization of packages in beforeunload. Test Plan: Run tests Reviewers: evan Reviewed By: evan Differential Revision: https://phab.nylas.com/D2061
13 lines
311 B
CoffeeScript
13 lines
311 B
CoffeeScript
{ComponentRegistry, WorkspaceStore} = require 'nylas-exports'
|
|
|
|
EventComponent = require "./event-component"
|
|
|
|
module.exports =
|
|
activate: (@state={}) ->
|
|
ComponentRegistry.register EventComponent,
|
|
role: 'Event'
|
|
|
|
deactivate: ->
|
|
ComponentRegistry.unregister(EventComponent)
|
|
|
|
serialize: -> @state
|