Remove the abstract BaseViewer-class

After the changes in PR 14112 the `PDFViewer`-class is now "identical" to the `BaseViewer`-class and the `PDFSinglePageViewer`-class is just a very thin wrapper around the `BaseViewer`-class.
Hence we can rename these files, and also remove the abstract `BaseViewer`-class, which helps reduce some unnecessary "closures" in the *built* viewer.

*Please note:* These changes are made in two separate commits, to allow GitHub to preserve `blame` for the affected files.
This commit is contained in:
Jonas Jenwald 2022-09-08 11:53:56 +02:00
parent 6dc4c994b8
commit 21fe5017bb
8 changed files with 7 additions and 7 deletions

View file

@ -14,7 +14,7 @@
*/
import { ScrollMode, SpreadMode } from "./ui_utils.js";
import { PDFViewer } from "./base_viewer.js";
import { PDFViewer } from "./pdf_viewer.js";
class PDFSinglePageViewer extends PDFViewer {
_resetView() {