1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Enable a couple of return related ESLint rules

Please find additional details at:
 - https://eslint.org/docs/rules/no-return-await
 - https://eslint.org/docs/rules/no-useless-return
This commit is contained in:
Jonas Jenwald 2019-09-20 14:23:41 +02:00
parent c289f3a969
commit b822356c03
2 changed files with 2 additions and 1 deletions

View file

@ -292,7 +292,6 @@ window.addEventListener('keydown', function(event) {
} else {
event.stopPropagation();
}
return;
}
}, true);
if (hasAttachEvent) {