1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 14:48:08 +02:00
pdf.js/src
Jonas Jenwald 4b02610e8c Re-factor and simplify the getQuadPoints helper function
The use of `Array.prototype.reduce()` is, in my opinion, hurting overall readability since it's not particularly easy to look at the relevant code and immediately understand what's going on here. Furthermore this code leads to strictly speaking unnecessary allocations and parsing, since we could just track the min/max values directly in the relevant loop instead.
2022-11-25 10:40:16 +01:00
..
core Re-factor and simplify the getQuadPoints helper function 2022-11-25 10:40:16 +01:00
display [api-minor] Deprecate the TextLayer timeout parameter 2022-11-24 23:08:39 +01:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
scripting_api [JS] Some functions (print, alert,...) must be called only after a user activation 2022-10-28 18:52:07 +02:00
shared Move the escapeString helper function into the worker-thread 2022-11-16 12:35:48 +01: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 2022-01-27 19:24:31 +01:00
license_header_libre.js Use correct case for JavaScript 2022-04-21 23:56:28 +08:00
pdf.image_decoders.js Fix the Jbig2Image export for the gulp image_decoders build (PR 9729 follow-up, issue 13367) 2021-05-12 19:41:29 +02:00
pdf.js [api-minor] Stop exposing the LoopbackPort class in the API 2022-09-23 13:44:35 +02:00
pdf.sandbox.external.js [JS] Some functions (print, alert,...) must be called only after a user activation 2022-10-28 18:52:07 +02:00
pdf.sandbox.js [JS] Use beforeinput event to trigger a keystroke event in the sandbox 2022-01-23 19:53:01 +01:00
pdf.scripting.js Tweak the pdf.scripting.js bundling, to improve overall consistency 2020-10-25 16:36:56 +01:00
pdf.worker.entry.js Update the year in the license_header files 2022-01-27 19:24:31 +01:00
pdf.worker.js Convert the src/pdf.js and src/pdf.worker.js files to use standard import/export statements 2020-05-20 13:18:23 +02:00
worker_loader.js Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00