mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20:06 +02:00
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:
parent
6dc4c994b8
commit
21fe5017bb
8 changed files with 7 additions and 7 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue