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:
parent
86ba634c97
commit
c36468cbce
7 changed files with 8 additions and 8 deletions
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue