Lint: correct code style violations

Manual observations and working with other linting tools found these.
This commit is contained in:
Tim van der Meij 2016-11-01 15:04:21 +01:00
parent 978b214c92
commit 5194e68134
13 changed files with 27 additions and 34 deletions

View file

@ -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;