Mailspring/internal_packages/send-later/lib/main.js
Juan Tejada e3fc29ee36 remove(popover): Remove Popover in favor of FixedPopover
Summary:
- FixedPopover now correctly adjusts itself when overflowing outside
  window, in all directions
  - Updates styles
  - Adds specs
- Remove Popover and popover.less, and refactor all code that used it in
  favor of the new FixedPopover

Test Plan: Unit tests

Reviewers: drew, evan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2697
2016-03-09 10:05:46 -08:00

24 lines
652 B
JavaScript

/** @babel */
import {ComponentRegistry} from 'nylas-exports'
import SendLaterButton from './send-later-button'
import SendLaterStore from './send-later-store'
import SendLaterStatus from './send-later-status'
export function activate() {
this.store = new SendLaterStore()
this.store.activate()
ComponentRegistry.register(SendLaterButton, {role: 'Composer:ActionButton'})
ComponentRegistry.register(SendLaterStatus, {role: 'DraftList:DraftStatus'})
}
export function deactivate() {
ComponentRegistry.unregister(SendLaterButton)
ComponentRegistry.unregister(SendLaterStatus)
this.store.deactivate()
}
export function serialize() {
}