Mailspring/internal_packages/undo-redo/lib/main.cjsx
Ben Gotow f8c5f7b967 refactor(db): change ID system to have clientIDs and serverIDs
Summary: Major ID refactor

Test Plan: edgehill --test

Reviewers: bengotow, dillon

Differential Revision: https://phab.nylas.com/D1946
2015-08-28 11:24:29 -07:00

14 lines
358 B
CoffeeScript

{ComponentRegistry, WorkspaceStore} = require 'nylas-exports'
module.exports =
activate: (@state={}) ->
UndoRedoComponent = require "./undo-redo-component"
ComponentRegistry.register UndoRedoComponent,
location: WorkspaceStore.Location.ThreadList
deactivate: ->
ComponentRegistry.unregister UndoRedoComponent
serialize: -> @state