1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-21 15:48:06 +02:00

Fix errors reported by the keyword-spacing ESLint rule

http://eslint.org/docs/rules/keyword-spacing
This commit is contained in:
Jonas Jenwald 2016-12-12 20:18:48 +01:00
parent 86ba634c97
commit c36468cbce
7 changed files with 8 additions and 8 deletions

View file

@ -384,7 +384,7 @@ function getPDFFileNameFromURL(url) {
try {
suggestedFilename =
reFilename.exec(decodeURIComponent(suggestedFilename))[0];
} catch(e) { // Possible (extremely rare) errors:
} catch (e) { // Possible (extremely rare) errors:
// URIError "Malformed URI", e.g. for "%AA.pdf"
// TypeError "null has no properties", e.g. for "%2F.pdf"
}