Mailspring/internal_packages/events/lib/main.cjsx
Ben Gotow a37e567888 fix(window-serialization): Restore window size, remove cruft from atom.coffee
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
2015-09-24 10:40:38 -07:00

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