1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00
pdf.js/src
Jonas Jenwald aebb8534f3 Limit base-class initialization checks to development and TESTING modes
We have a number of base-classes that are only intended to be extended, but never to be used directly. To help enforce this during development these base-class constructors will check for direct usage, however that code is obviously not needed in the actual builds.

*Note:* This patch reduces the size of the `gulp mozcentral` output by `~2.7` kilo-bytes, which isn't a lot but still cannot hurt.
2024-08-12 12:26:35 +02:00
..
core Limit base-class initialization checks to development and TESTING modes 2024-08-12 12:26:35 +02:00
display Limit base-class initialization checks to development and TESTING modes 2024-08-12 12:26:35 +02:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
scripting_api Don't stop calculating field values when a Calculate callback throws 2024-08-05 20:36:04 +02:00
shared Limit base-class initialization checks to development and TESTING modes 2024-08-12 12:26:35 +02:00
interfaces.js Use ESLint to ensure that exports are sorted alphabetically 2021-01-09 20:37:51 +01:00
license_header.js Update the year in the license_header files 2024-07-02 14:34:59 +02:00
license_header_libre.js Update the year in the license_header files 2024-07-02 14:34:59 +02:00
pdf.image_decoders.js [api-minor] Remove the image-related error message prefixes 2024-04-20 12:51:45 +02:00
pdf.js [api-minor] Remove Outliner from the official API 2024-07-16 13:08:26 +02:00
pdf.sandbox.external.js Avoid to call a function in the js sandbox when it has been destroyed 2024-06-18 22:30:21 +02:00
pdf.sandbox.js Use shorter arrow functions where possible 2024-01-21 10:13:12 +01:00
pdf.scripting.js Output pdf.scripting.js as a JavaScript module (PR 17055 follow-up) 2023-10-07 15:27:26 +02:00
pdf.worker.js Allow, optionally, using worker-modules during local development 2023-01-31 12:09:44 +01:00