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
|
@ -2241,7 +2241,7 @@ class Transform {
|
|||
class IrreversibleTransform extends Transform {
|
||||
filter(x, offset, length) {
|
||||
const len = length >> 1;
|
||||
offset = offset | 0;
|
||||
offset |= 0;
|
||||
let j, n, current, next;
|
||||
|
||||
const alpha = -1.586134342059924;
|
||||
|
@ -2327,7 +2327,7 @@ class IrreversibleTransform extends Transform {
|
|||
class ReversibleTransform extends Transform {
|
||||
filter(x, offset, length) {
|
||||
const len = length >> 1;
|
||||
offset = offset | 0;
|
||||
offset |= 0;
|
||||
let j, n;
|
||||
|
||||
for (j = offset, n = len + 1; n--; j += 2) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue