1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-24 17:18:07 +02:00
pdf.js/examples
Jonas Jenwald bb302dd993 [api-minor] Pass CanvasFactory/FilterFactory, rather than instances, to getDocument
This unifies the various factory-options, since it's consistent with `CMapReaderFactory`/`StandardFontDataFactory`, and ensures that any needed parameters will always be consistently provided when creating `CanvasFactory`/`FilterFactory`-instances.

As shown in the modified example this may simplify some custom implementations, since we now provide the ability to access the `CanvasFactory`-instance used with a particular `getDocument`-invocation.
2024-09-23 11:26:30 +02:00
..
components Update the examples/-folder to account for outputting of JavaScript modules (PR 17055 follow-up) 2023-10-28 10:26:25 +02:00
image_decoders Update the examples/-folder to account for outputting of JavaScript modules (PR 17055 follow-up) 2023-10-28 10:26:25 +02:00
learning Give all HTML button elements a type 2024-07-30 18:49:18 +02:00
mobile-viewer Give all HTML button elements a type 2024-07-30 18:49:18 +02:00
node [api-minor] Pass CanvasFactory/FilterFactory, rather than instances, to getDocument 2024-09-23 11:26:30 +02:00
text-only Update the examples/-folder to account for outputting of JavaScript modules (PR 17055 follow-up) 2023-10-28 10:26:25 +02:00
webpack Fix examples/webpack/README.md. The .mjs extension is necessary. Close #17319 2023-11-23 09:25:20 +09:00
.eslintrc Enable the ESLint no-var rule globally 2021-03-13 16:12:53 +01:00