Lint: correct code style violations
Manual observations and working with other linting tools found these.
This commit is contained in:
parent
978b214c92
commit
5194e68134
13 changed files with 27 additions and 34 deletions
|
@ -226,7 +226,7 @@ if (typeof PDFJSDev === 'undefined' || !PDFJSDev.test('MOZCENTRAL')) {
|
|||
function isFontReady(name, callback) {
|
||||
called++;
|
||||
// With setTimeout clamping this gives the font ~100ms to load.
|
||||
if(called > 30) {
|
||||
if (called > 30) {
|
||||
warn('Load test font never loaded.');
|
||||
callback();
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue