mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-21 15:48:06 +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
|
@ -270,7 +270,7 @@ if (typeof PDFJS === 'undefined') {
|
|||
// initialize result and counters
|
||||
var bc = 0, bs, buffer, idx = 0, output = '';
|
||||
// get next character
|
||||
buffer = input.charAt(idx++);
|
||||
(buffer = input.charAt(idx++));
|
||||
// character found in table?
|
||||
// initialize bit storage and add its ascii value
|
||||
~buffer && (bs = bc % 4 ? bs * 64 + buffer : buffer,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue