1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Re-name the XFAFactory.numberPages getter to XFAFactory.numPages for consistency

All other similar getters are called `numPages` throughout the code-base, and improved consistency should always be a good thing.
This commit is contained in:
Jonas Jenwald 2021-10-16 12:35:12 +02:00
parent 0e5348180e
commit 0041230072
3 changed files with 16 additions and 16 deletions

View file

@ -54,7 +54,7 @@ class XFAFactory {
return this.dims[pageIndex];
}
get numberPages() {
get numPages() {
if (!this.pages) {
this._createPages();
}