1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 09:38:06 +02:00

Fix (most) errors reported by the no-multi-spaces ESLint rule

http://eslint.org/docs/rules/no-multi-spaces
This commit is contained in:
Jonas Jenwald 2016-12-10 14:28:27 +01:00
parent 328e7397ea
commit 3820946301
10 changed files with 17 additions and 17 deletions

View file

@ -1484,7 +1484,7 @@ var JpxImage = (function JpxImageClosure() {
var qcdOrQcc = (context.currentTile.QCC[c] !== undefined ?
context.currentTile.QCC[c] : context.currentTile.QCD);
component.quantizationParameters = qcdOrQcc;
var codOrCoc = (context.currentTile.COC[c] !== undefined ?
var codOrCoc = (context.currentTile.COC[c] !== undefined ?
context.currentTile.COC[c] : context.currentTile.COD);
component.codingStyleParameters = codOrCoc;
}
@ -1552,7 +1552,7 @@ var JpxImage = (function JpxImageClosure() {
})();
var InclusionTree = (function InclusionTreeClosure() {
function InclusionTree(width, height, defaultValue) {
function InclusionTree(width, height, defaultValue) {
var levelsLength = log2(Math.max(width, height)) + 1;
this.levels = [];
for (var i = 0; i < levelsLength; i++) {