mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 01:28:06 +02:00
If, as PR 10368 suggests, more parameters should be added to `getViewport` I think that it would be a mistake to not change the signature *first* to avoid needlessly unwieldy call-sites. To not break any existing code and third-party use-cases, this is obviously implemented with a deprecation warning *and* with a working fallback[1] for the old method signature. --- [1] This is limited to `GENERIC` builds, which should be sufficient. |
||
---|---|---|
.. | ||
pageviewer.html | ||
pageviewer.js | ||
simpleviewer.html | ||
simpleviewer.js | ||
singlepageviewer.html | ||
singlepageviewer.js |