• Robert Knight's avatar
    Ensure PDF integration is loaded in PDF documents · bc8ddf96
    Robert Knight authored
    The recent refactor to change the relationship between the `Guest` and `Sidebar`
    classes broke PDF.js integration because the `PdfSidebar` class is no
    longer able to modify the config that is passed to the `Guest` class.
    Previously it would pass `PDF: {}` in the config to the `super()` call
    which would then result in the `Guest` class loading the PDF
    integration.
    
    This now has to be done in the `index.js` module. We already had to do
    this previously for ebooks. Now it has to be done for all scenarios.
    bc8ddf96
Name
Last commit
Last update
..
anchoring Loading commit data...
components Loading commit data...
config Loading commit data...
plugin Loading commit data...
test Loading commit data...
util Loading commit data...
.eslintrc.js Loading commit data...
adder.js Loading commit data...
annotation-counts.js Loading commit data...
annotation-sync.js Loading commit data...
bucket-bar.js Loading commit data...
delegator.js Loading commit data...
features.js Loading commit data...
frame-observer.js Loading commit data...
guest.js Loading commit data...
highlighter.js Loading commit data...
icons.js Loading commit data...
index.js Loading commit data...
notebook.js Loading commit data...
pdf-sidebar.js Loading commit data...
pdfjs-rendering-states.js Loading commit data...
range-util.js Loading commit data...
selection-observer.js Loading commit data...
sidebar-trigger.js Loading commit data...
sidebar.js Loading commit data...
toolbar.js Loading commit data...