mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 09:38:06 +02:00
Enable the ESLint operator-assignment
rule
This patch was generated automatically, using the `gulp lint --fix` command. Please find additional details about the ESLint rule at https://eslint.org/docs/rules/operator-assignment
This commit is contained in:
parent
de80590157
commit
901b24e8af
13 changed files with 35 additions and 36 deletions
2
external/cmapscompress/compress.js
vendored
2
external/cmapscompress/compress.js
vendored
|
@ -409,7 +409,7 @@ function writeSigned(n) {
|
|||
const d = fromHexDigit(n[i]);
|
||||
c = (c << 4) | (neg ? d ^ 15 : d);
|
||||
t += toHexDigit(c >> 3);
|
||||
c = c & 7;
|
||||
c &= 7;
|
||||
}
|
||||
t += toHexDigit((c << 1) | (neg ? 1 : 0));
|
||||
return writeNumber(t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue