1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Enable the ESLint no-loss-of-precision rule

Please refer to https://eslint.org/docs/rules/no-loss-of-precision
This commit is contained in:
Jonas Jenwald 2021-11-14 10:40:32 +01:00
parent c47f5e81fe
commit a54bed4963
3 changed files with 3 additions and 2 deletions

View file

@ -1349,7 +1349,7 @@ class JpegImage {
(0.00006834815998235662 * y +
0.00015168452363460973 * k -
0.09751927774728933) -
k * (0.00031891311758832814 * k + 0.7364883807733168);
k * (0.0003189131175883281 * k + 0.7364883807733168);
data[offset++] =
255 +