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:
Jonas Jenwald 2017-01-19 16:26:32 +01:00
parent a917443ae6
commit 4626fc8342
14 changed files with 53 additions and 47 deletions

View file

@ -447,13 +447,13 @@ var Jbig2Image = (function Jbig2ImageClosure() {
if (numberOfInstances > 1) {
bitmap = decodeTextRegion(huffman, refinement,
currentWidth, currentHeight, 0,
numberOfInstances, 1, //strip size
numberOfInstances, 1, // strip size
symbols.concat(newSymbols),
symbolCodeLength,
0, //transposed
0, //ds offset
1, //top left 7.4.3.1.1
0, //OR operator
0, // transposed
0, // ds offset
1, // top left 7.4.3.1.1
0, // OR operator
huffmanTables,
refinementTemplateIndex, refinementAt,
decodingContext);