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

@ -1230,7 +1230,7 @@ var XRef = (function XRefClosure() {
} else {
xrefEntry = this.fetchCompressed(xrefEntry, suppressEncryption);
}
if (isDict(xrefEntry)){
if (isDict(xrefEntry)) {
xrefEntry.objId = ref.toString();
} else if (isStream(xrefEntry)) {
xrefEntry.dict.objId = ref.toString();