overleaf/services/web/frontend/js/features/pdf-preview/controllers/pdf-preview-controller.js
Timothée Alby f6fc3d468c Merge pull request #5854 from overleaf/ta-pdf-detach-v2
PDF Detach Updates

GitOrigin-RevId: c09c4fe37a922b041cfa1376e110a264a88177c8
2021-12-01 09:03:41 +00:00

17 lines
624 B
JavaScript

import App from '../../../base'
import { react2angular } from 'react2angular'
import PdfPreview from '../components/pdf-preview'
import { rootContext } from '../../../shared/context/root-context'
import PdfSynctexControls from '../components/pdf-synctex-controls'
import { DetacherSynctexControl } from '../components/detach-synctex-control'
App.component('pdfPreview', react2angular(rootContext.use(PdfPreview), []))
App.component(
'pdfSynctexControls',
react2angular(rootContext.use(PdfSynctexControls), [])
)
App.component(
'detacherSynctexControl',
react2angular(rootContext.use(DetacherSynctexControl), [])
)