mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 12:40:08 +08:00
4619871e8d
Summary: Fixes: T1334 remove final InboxApp references move out all underscore-plus methods Mass find and replace of underscore-plus sed -i '' -- 's/underscore-plus/underscore/g' **/*.coffee sed -i '' -- 's/underscore-plus/underscore/g' **/*.cjsx Test Plan: edgehill --test Reviewers: bengotow Reviewed By: bengotow Differential Revision: https://phab.nylas.com/D1534
16 lines
416 B
CoffeeScript
16 lines
416 B
CoffeeScript
_ = require 'underscore'
|
|
React = require "react"
|
|
SidebarInternal = require "./sidebar-internal"
|
|
{ComponentRegistry, WorkspaceStore} = require "nylas-exports"
|
|
|
|
module.exports =
|
|
item: null
|
|
|
|
activate: (@state={}) ->
|
|
ComponentRegistry.register SidebarInternal,
|
|
location: WorkspaceStore.Location.MessageListSidebar
|
|
|
|
deactivate: ->
|
|
ComponentRegistry.unregister(SidebarInternal)
|
|
|
|
serialize: -> @state
|