1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Fixes lint warning W018: confusing use of exclamation mark

This commit is contained in:
Tim van der Meij 2014-04-07 20:55:28 +02:00
parent 79f82b0fae
commit a71a87a821
3 changed files with 2 additions and 3 deletions

View file

@ -112,7 +112,7 @@ var Annotation = (function AnnotationClosure() {
var isInvalid = false;
var numPositive = 0;
for (var i = 0; i < dashArrayLength; i++) {
if (!(+dashArray[i] >= 0)) {
if (+dashArray[i] < 0) {
isInvalid = true;
break;
} else if (dashArray[i] > 0) {