mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-21 15:48:06 +02:00
Fix (most) errors reported by the no-multi-spaces
ESLint rule
http://eslint.org/docs/rules/no-multi-spaces
This commit is contained in:
parent
328e7397ea
commit
3820946301
10 changed files with 17 additions and 17 deletions
|
@ -260,7 +260,7 @@ function approximateFraction(x) {
|
|||
var limit = 8;
|
||||
if (xinv > limit) {
|
||||
return [1, limit];
|
||||
} else if (Math.floor(xinv) === xinv) {
|
||||
} else if (Math.floor(xinv) === xinv) {
|
||||
return [1, xinv];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue