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:
parent
978b214c92
commit
5194e68134
13 changed files with 27 additions and 34 deletions
|
@ -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++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue