mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +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
b0a021d2cc
commit
6dc4c994b8
5 changed files with 10 additions and 14 deletions
|
@ -15,7 +15,7 @@
|
|||
|
||||
import { PDFPageViewBuffer } from "../../web/base_viewer.js";
|
||||
|
||||
describe("BaseViewer", function () {
|
||||
describe("PDFViewer", function () {
|
||||
describe("PDFPageViewBuffer", function () {
|
||||
function createViewsMap(startId, endId) {
|
||||
const map = new Map();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue