Commit 2b3101be authored by Robert Knight's avatar Robert Knight

Remove Angular wrappers for annotation subcomponents

After `Annotation` was converted to Preact, the subcomponents no longer
need to be wrapped and exposed to Angular.
parent 73edfb6a
......@@ -107,12 +107,6 @@ function autosave(autosaveService) {
// Preact UI components that are wrapped for use within Angular templates.
import Annotation from './components/annotation';
import AnnotationActionBar from './components/annotation-action-bar';
import AnnotationBody from './components/annotation-body';
import AnnotationHeader from './components/annotation-header';
import AnnotationLicense from './components/annotation-license';
import AnnotationPublishControl from './components/annotation-publish-control';
import AnnotationQuote from './components/annotation-quote';
import FocusedModeHeader from './components/focused-mode-header';
import HelpPanel from './components/help-panel';
import LoggedOutMessage from './components/logged-out-message';
......@@ -123,8 +117,6 @@ import SelectionTabs from './components/selection-tabs';
import ShareAnnotationsPanel from './components/share-annotations-panel';
import SidebarContentError from './components/sidebar-content-error';
import SvgIcon from './components/svg-icon';
import TagEditor from './components/tag-editor';
import TagList from './components/tag-list';
import ToastMessages from './components/toast-messages';
import TopBar from './components/top-bar';
......@@ -243,15 +235,6 @@ function startAngularApp(config) {
// UI components
.component('annotation', wrapComponent(Annotation))
.component('annotationBody', wrapComponent(AnnotationBody))
.component('annotationHeader', wrapComponent(AnnotationHeader))
.component('annotationActionBar', wrapComponent(AnnotationActionBar))
.component('annotationLicense', wrapComponent(AnnotationLicense))
.component(
'annotationPublishControl',
wrapComponent(AnnotationPublishControl)
)
.component('annotationQuote', wrapComponent(AnnotationQuote))
.component('annotationThread', annotationThread)
.component('annotationViewerContent', annotationViewerContent)
.component('helpPanel', wrapComponent(HelpPanel))
......@@ -266,8 +249,6 @@ function startAngularApp(config) {
.component('shareAnnotationsPanel', wrapComponent(ShareAnnotationsPanel))
.component('streamContent', streamContent)
.component('svgIcon', wrapComponent(SvgIcon))
.component('tagEditor', wrapComponent(TagEditor))
.component('tagList', wrapComponent(TagList))
.component('threadList', threadList)
.component('toastMessages', wrapComponent(ToastMessages))
.component('topBar', wrapComponent(TopBar))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment