pdf.js/src/display/editor
Jonas Jenwald 804aa896a7 Stop using the PRODUCTION build-target in the JavaScript code
This *special* build-target is very old, and was introduced with the first pre-processor that only uses comments to enable/disable code.
When the new pre-processor was added `PRODUCTION` effectively became redundant, at least in JavaScript code, since `typeof PDFJSDev === "undefined"` checks now do the same thing.

This patch proposes that we remove `PRODUCTION` from the JavaScript code, since that simplifies the conditions and thus improves readability in many cases.
*Please note:* There's not, nor has there ever been, any gulp-task that set `PRODUCTION = false` during building.
2023-04-17 12:04:34 +02:00
..
annotation_editor_layer.js Fix spelling of occurred in a couple of comments 2023-03-25 20:46:02 +01:00
editor.js [Editor] Take into account the initial rotation (issue #16278) 2023-04-16 21:36:26 +02:00
fit_curve.js [editor] Use the fit-curve package (issue 15004) 2022-07-07 10:43:43 +02:00
freetext.js Stop using the PRODUCTION build-target in the JavaScript code 2023-04-17 12:04:34 +02:00
ink.js Partially revert PR 15578 2023-03-08 12:10:27 +01:00
tools.js [Editor] Don't use the editor parent which can be null. 2022-12-08 14:06:06 +01:00