Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
4edb274b
Unverified
Commit
4edb274b
authored
Apr 28, 2020
by
Robert Knight
Committed by
GitHub
Apr 28, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2082 from hypothesis/remove-unused-ng-wrappers
Remove unused Preact component wrappers
parents
6da55201
6d73eef3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
index.js
src/sidebar/index.js
+0
-8
No files found.
src/sidebar/index.js
View file @
4edb274b
...
@@ -118,20 +118,16 @@ registerIcons(iconSet);
...
@@ -118,20 +118,16 @@ registerIcons(iconSet);
// Preact UI components that are wrapped for use within Angular templates.
// Preact UI components that are wrapped for use within Angular templates.
import
Annotation
from
'./components/annotation'
;
import
AnnotationViewerContent
from
'./components/annotation-viewer-content'
;
import
AnnotationViewerContent
from
'./components/annotation-viewer-content'
;
import
FocusedModeHeader
from
'./components/focused-mode-header'
;
import
FocusedModeHeader
from
'./components/focused-mode-header'
;
import
HelpPanel
from
'./components/help-panel'
;
import
HelpPanel
from
'./components/help-panel'
;
import
LoggedOutMessage
from
'./components/logged-out-message'
;
import
LoggedOutMessage
from
'./components/logged-out-message'
;
import
LoginPromptPanel
from
'./components/login-prompt-panel'
;
import
LoginPromptPanel
from
'./components/login-prompt-panel'
;
import
ModerationBanner
from
'./components/moderation-banner'
;
import
SearchStatusBar
from
'./components/search-status-bar'
;
import
SearchStatusBar
from
'./components/search-status-bar'
;
import
SelectionTabs
from
'./components/selection-tabs'
;
import
SelectionTabs
from
'./components/selection-tabs'
;
import
ShareAnnotationsPanel
from
'./components/share-annotations-panel'
;
import
ShareAnnotationsPanel
from
'./components/share-annotations-panel'
;
import
SidebarContentError
from
'./components/sidebar-content-error'
;
import
SidebarContentError
from
'./components/sidebar-content-error'
;
import
StreamContent
from
'./components/stream-content'
;
import
StreamContent
from
'./components/stream-content'
;
import
SvgIcon
from
'../shared/components/svg-icon'
;
import
Thread
from
'./components/thread'
;
import
ThreadList
from
'./components/thread-list'
;
import
ThreadList
from
'./components/thread-list'
;
import
ToastMessages
from
'./components/toast-messages'
;
import
ToastMessages
from
'./components/toast-messages'
;
import
TopBar
from
'./components/top-bar'
;
import
TopBar
from
'./components/top-bar'
;
...
@@ -256,7 +252,6 @@ function startAngularApp(config) {
...
@@ -256,7 +252,6 @@ function startAngularApp(config) {
.
component
(
'hypothesisApp'
,
hypothesisApp
)
.
component
(
'hypothesisApp'
,
hypothesisApp
)
// UI components
// UI components
.
component
(
'annotation'
,
wrapComponent
(
Annotation
))
.
component
(
.
component
(
'annotationViewerContent'
,
'annotationViewerContent'
,
wrapComponent
(
AnnotationViewerContent
)
wrapComponent
(
AnnotationViewerContent
)
...
@@ -264,7 +259,6 @@ function startAngularApp(config) {
...
@@ -264,7 +259,6 @@ function startAngularApp(config) {
.
component
(
'helpPanel'
,
wrapComponent
(
HelpPanel
))
.
component
(
'helpPanel'
,
wrapComponent
(
HelpPanel
))
.
component
(
'loginPromptPanel'
,
wrapComponent
(
LoginPromptPanel
))
.
component
(
'loginPromptPanel'
,
wrapComponent
(
LoginPromptPanel
))
.
component
(
'loggedOutMessage'
,
wrapComponent
(
LoggedOutMessage
))
.
component
(
'loggedOutMessage'
,
wrapComponent
(
LoggedOutMessage
))
.
component
(
'moderationBanner'
,
wrapComponent
(
ModerationBanner
))
.
component
(
'searchStatusBar'
,
wrapComponent
(
SearchStatusBar
))
.
component
(
'searchStatusBar'
,
wrapComponent
(
SearchStatusBar
))
.
component
(
'focusedModeHeader'
,
wrapComponent
(
FocusedModeHeader
))
.
component
(
'focusedModeHeader'
,
wrapComponent
(
FocusedModeHeader
))
.
component
(
'selectionTabs'
,
wrapComponent
(
SelectionTabs
))
.
component
(
'selectionTabs'
,
wrapComponent
(
SelectionTabs
))
...
@@ -272,8 +266,6 @@ function startAngularApp(config) {
...
@@ -272,8 +266,6 @@ function startAngularApp(config) {
.
component
(
'sidebarContentError'
,
wrapComponent
(
SidebarContentError
))
.
component
(
'sidebarContentError'
,
wrapComponent
(
SidebarContentError
))
.
component
(
'shareAnnotationsPanel'
,
wrapComponent
(
ShareAnnotationsPanel
))
.
component
(
'shareAnnotationsPanel'
,
wrapComponent
(
ShareAnnotationsPanel
))
.
component
(
'streamContent'
,
wrapComponent
(
StreamContent
))
.
component
(
'streamContent'
,
wrapComponent
(
StreamContent
))
.
component
(
'svgIcon'
,
wrapComponent
(
SvgIcon
))
.
component
(
'thread'
,
wrapComponent
(
Thread
))
.
component
(
'threadList'
,
wrapComponent
(
ThreadList
))
.
component
(
'threadList'
,
wrapComponent
(
ThreadList
))
.
component
(
'toastMessages'
,
wrapComponent
(
ToastMessages
))
.
component
(
'toastMessages'
,
wrapComponent
(
ToastMessages
))
.
component
(
'topBar'
,
wrapComponent
(
TopBar
))
.
component
(
'topBar'
,
wrapComponent
(
TopBar
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment