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

Merge pull request #7979 from Snuffleupagus/eslint-more-rules

Enable the `no-unsafe-finally`/`no-octal`/`no-useless-call` ESLint rules
This commit is contained in:
Tim van der Meij 2017-01-22 20:53:26 +01:00 committed by GitHub
commit 17dd2e6b20
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();
}