pdf.js/examples/components
Jonas Jenwald f0719ed565 [api-minor] Change the getViewport method, on PDFPageProxy, to take a parameter object rather than a bunch of (randomly) ordered parameters
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.
2018-12-21 11:55:20 +01:00
..
pageviewer.html Remove moznomarginboxes 2018-01-19 22:05:50 +01:00
pageviewer.js [api-minor] Change the getViewport method, on PDFPageProxy, to take a parameter object rather than a bunch of (randomly) ordered parameters 2018-12-21 11:55:20 +01:00
simpleviewer.html Remove moznomarginboxes 2018-01-19 22:05:50 +01:00
simpleviewer.js ESLint --fix 2018-12-11 15:23:26 +01:00
singlepageviewer.html Remove moznomarginboxes 2018-01-19 22:05:50 +01:00
singlepageviewer.js Convert PDFDocumentLoadingTask, in src/display/api.js, to an ES6 class 2018-11-18 19:07:57 +01:00