Unverified Commit d1669ce3 authored by Robert Knight's avatar Robert Knight Committed by GitHub

Merge pull request #1270 from hypothesis/remove-unused-ng-component-wrappers

Remove unused ng component wrappers
parents 25d8df56 40c63455
...@@ -157,10 +157,6 @@ function startAngularApp(config) { ...@@ -157,10 +157,6 @@ function startAngularApp(config) {
require('./components/annotation-share-dialog') require('./components/annotation-share-dialog')
) )
.component('annotationThread', require('./components/annotation-thread')) .component('annotationThread', require('./components/annotation-thread'))
.component(
'annotationUser',
wrapReactComponent(require('./components/annotation-user'))
)
.component( .component(
'annotationViewerContent', 'annotationViewerContent',
require('./components/annotation-viewer-content') require('./components/annotation-viewer-content')
...@@ -184,10 +180,6 @@ function startAngularApp(config) { ...@@ -184,10 +180,6 @@ function startAngularApp(config) {
'searchStatusBar', 'searchStatusBar',
wrapReactComponent(require('./components/search-status-bar')) wrapReactComponent(require('./components/search-status-bar'))
) )
.component(
'newNoteBtn',
wrapReactComponent(require('./components/new-note-btn'))
)
.component( .component(
'selectionTabs', 'selectionTabs',
wrapReactComponent(require('./components/selection-tabs')) wrapReactComponent(require('./components/selection-tabs'))
...@@ -203,10 +195,6 @@ function startAngularApp(config) { ...@@ -203,10 +195,6 @@ function startAngularApp(config) {
.component('svgIcon', wrapReactComponent(require('./components/svg-icon'))) .component('svgIcon', wrapReactComponent(require('./components/svg-icon')))
.component('tagEditor', require('./components/tag-editor')) .component('tagEditor', require('./components/tag-editor'))
.component('threadList', require('./components/thread-list')) .component('threadList', require('./components/thread-list'))
.component(
'timestamp',
wrapReactComponent(require('./components/timestamp'))
)
.component('topBar', wrapReactComponent(require('./components/top-bar'))) .component('topBar', wrapReactComponent(require('./components/top-bar')))
.directive('hAutofocus', require('./directive/h-autofocus')) .directive('hAutofocus', require('./directive/h-autofocus'))
.directive('hBranding', require('./directive/h-branding')) .directive('hBranding', require('./directive/h-branding'))
......
<button class="new-note__create" ng-click="vm.onNewNoteBtnClick()" h-branding="ctaBackgroundColor">
+ New note
</button>
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