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

Lint: correct code style violations

Manual observations and working with other linting tools found these.
This commit is contained in:
Tim van der Meij 2016-11-01 15:04:21 +01:00
parent 978b214c92
commit 5194e68134
13 changed files with 27 additions and 34 deletions

View file

@ -296,7 +296,7 @@ var FontRendererFactory = (function FontRendererFactoryClosure() {
for (j = 1, jj = contour.length; j < jj; j++) {
if ((contour[j].flags & 1)) {
lineTo(contour[j].x, contour[j].y);
} else if ((contour[j + 1].flags & 1)){
} else if ((contour[j + 1].flags & 1)) {
quadraticCurveTo(contour[j].x, contour[j].y,
contour[j + 1].x, contour[j + 1].y);
j++;