chore: Fix or individually disable no-this-alias lint rule violations. (#6371)

This commit is contained in:
Aaron Dodson
2022-08-22 14:13:26 -07:00
committed by GitHub
parent 9454b7070c
commit 43f54b1b06
11 changed files with 45 additions and 54 deletions

View File

@@ -164,12 +164,10 @@ export class Scrollbar {
this.lengthAttribute_ = 'height';
this.positionAttribute_ = 'y';
}
const scrollbar = this;
this.onMouseDownBarWrapper_ = browserEvents.conditionalBind(
this.svgBackground_!, 'mousedown', scrollbar,
scrollbar.onMouseDownBar_);
this.svgBackground_!, 'mousedown', this, this.onMouseDownBar_);
this.onMouseDownHandleWrapper_ = browserEvents.conditionalBind(
this.svgHandle_!, 'mousedown', scrollbar, scrollbar.onMouseDownHandle_);
this.svgHandle_!, 'mousedown', this, this.onMouseDownHandle_);
}
/**