mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Enable the spaced-comment
ESLint rule
Please see http://eslint.org/docs/rules/spaced-comment. Note that the exceptions added for `line` comments are intended to still allow use of the old preprocessor without linting errors. Also, I took the opportunity to improve the grammar slightly (w.r.t. capitalization and punctuation) for comments touched in the patch.
This commit is contained in:
parent
a917443ae6
commit
4626fc8342
14 changed files with 53 additions and 47 deletions
|
@ -709,7 +709,7 @@ var JpegImage = (function JpegImageClosure() {
|
|||
z = dctZigZag[j];
|
||||
tableData[z] = data[offset++];
|
||||
}
|
||||
} else if ((quantizationTableSpec >> 4) === 1) { //16 bit
|
||||
} else if ((quantizationTableSpec >> 4) === 1) { // 16 bit values
|
||||
for (j = 0; j < 64; j++) {
|
||||
z = dctZigZag[j];
|
||||
tableData[z] = readUint16();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue