fix eslint warnigs for core project (#7506)

This commit is contained in:
Denys Vuika
2022-02-17 14:35:33 +00:00
committed by GitHub
parent 5b7f255eec
commit bca5a783ab
246 changed files with 5127 additions and 5065 deletions

View File

@@ -139,6 +139,7 @@ export class RenderingQueueServices {
* Render a page or thumbnail view. This calls the appropriate function
* based on the views state. If the view is already rendered it will return
* false.
*
* @param view
*/
renderView(view: any) {
@@ -155,7 +156,7 @@ export class RenderingQueueServices {
break;
case this.renderingStates.INITIAL:
this.highestPriorityPage = view.renderingId;
const continueRendering = function () {
const continueRendering = function() {
this.renderHighestPriority();
}.bind(this);
view.draw().then(continueRendering, continueRendering);