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

Enable the no-unsafe-finally/no-octal/no-useless-call ESLint rules

http://eslint.org/docs/rules/no-unsafe-finally, there's just one violation which in this case can actually be ignored since there's nothing `return`ed there.
http://eslint.org/docs/rules/no-octal, there're no violations in the code-base.
http://eslint.org/docs/rules/no-useless-call, there's just one violation that needs to be fixed.
This commit is contained in:
Jonas Jenwald 2017-01-21 17:08:25 +01:00
parent f8e793f8c2
commit 82ea7e6e6e
3 changed files with 5 additions and 2 deletions

View file

@ -2108,7 +2108,7 @@ var InternalRenderTask = (function InternalRenderTaskClosure() {
return;
}
if (this.task.onContinue) {
this.task.onContinue.call(this.task, this._scheduleNextBound);
this.task.onContinue(this._scheduleNextBound);
} else {
this._scheduleNext();
}