Mailspring/internal_packages/today/lib/main.cjsx
Ben Gotow 91edef9f7a fix(naming): Move atom/inbox/nilas refs to Nylas
Conflicts:
	internal_packages/inbox-activity-bar/lib/activity-bar-long-poll-item.cjsx
2015-05-15 11:07:28 -07:00

16 lines
479 B
CoffeeScript

TodayView = require "./today-view"
TodayIcon = require "./today-icon"
{ComponentRegistry,
WorkspaceStore} = require 'nylas-exports'
module.exports =
activate: (@state={}) ->
WorkspaceStore.defineSheet 'Today', {root: true, supportedModes: ['list'], name: 'Today', icon: TodayIcon},
list: ['RootSidebar', 'Today']
ComponentRegistry.register TodayView,
location: WorkspaceStore.Location.Today
deactivate: ->
ComponentRegistry.unregister(TodayView)