pdf.js/src/display
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
..
annotation_layer.js [api-minor] Refactor/simplify the PDFObject class 2018-11-08 10:13:39 +01:00
api_compatibility.js removed safari compatibility check 2018-06-21 12:57:56 +03:00
api.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
canvas.js Convert InternalRenderTask, in src/display/api.js, to an ES6 class 2018-11-18 19:08:27 +01:00
content_disposition.js Fall back to ISO-8859-1 in content_disposition.js 2018-06-03 16:17:28 +02:00
dom_utils.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
fetch_stream.js Add support for async/await using Babel 2018-08-19 16:54:11 +02:00
font_loader.js Use the Font Loading API in MOZCENTRAL builds, and GENERIC builds for Firefox version 63 and above (issue 9945) 2018-09-29 16:05:00 +02:00
metadata.js New XML parser 2018-03-19 20:51:41 -05:00
network_utils.js set returnValues.suggestedLength to Content-Length if integer 2018-10-07 13:26:29 -04:00
network.js Add support for async/await using Babel 2018-08-19 16:54:11 +02:00
node_stream.js Add support for async/await using Babel 2018-08-19 16:54:11 +02:00
pattern_helper.js Update the ESLint dependencies, and also tweak the no-multiple-empty-lines rules 2018-01-03 13:32:57 +01:00
svg.js Handle line width of zero in SVG 2018-12-04 16:05:32 +02:00
text_layer.js Use span instead of div in the text layer 2018-11-18 15:54:08 +01:00
transport_stream.js Add support for async/await using Babel 2018-08-19 16:54:11 +02:00
webgl.js Update the ESLint dependencies, and also tweak the no-multiple-empty-lines rules 2018-01-03 13:32:57 +01:00
worker_options.js Introduce a GlobalWorkerOptions object for (basic) Worker configuration 2018-02-16 13:22:35 +01:00
xml_parser.js Prevent Metadata/XML parsing from breaking PDFDocumentProxy.getMetadata when no XML root document is found (issue 8884) 2018-07-18 11:37:40 +02:00