mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Fix errors reported by the no-cond-assign
ESLint rule
http://eslint.org/docs/rules/no-cond-assign
This commit is contained in:
parent
00a006e466
commit
fb5e756683
2 changed files with 2 additions and 2 deletions
|
@ -2166,7 +2166,7 @@ if (typeof PDFJSDev === 'undefined' || !PDFJSDev.test('MOZCENTRAL')) {
|
|||
err('\\ not allowed in relative path.');
|
||||
}
|
||||
var tmp;
|
||||
if (tmp = relativePathDotMapping[buffer.toLowerCase()]) {
|
||||
if ((tmp = relativePathDotMapping[buffer.toLowerCase()])) {
|
||||
buffer = tmp;
|
||||
}
|
||||
if ('..' === buffer) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue