Skip to content

Commit

Permalink
Disable linting checks
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-hoc committed Dec 20, 2024
1 parent 74ae852 commit 119bb1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ts/components/seekbarcontroller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ export class SeekBarController {

protected seekBarControls(type: SeekBarType) {
if (type === SeekBarType.Live) {
// eslint-disable-next-line @typescript-eslint/unbound-method
return this.arrowKeyControls(this.player.getTimeShift(), { min: this.player.getMaxTimeShift(), max: 0 }, this.player.timeShift);
} else if (type === SeekBarType.Vod) {
// eslint-disable-next-line @typescript-eslint/unbound-method
return this.arrowKeyControls(this.player.getCurrentTime(), { min: 0, max: this.player.getDuration() }, this.player.seek);
} else if (type === SeekBarType.Volume && this.volumeController != null) {
const volumeTransition = this.volumeController.startTransition();
Expand Down
1 change: 1 addition & 0 deletions src/ts/uimanager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -887,6 +887,7 @@ export class PlayerWrapper {
for (let method of methods) {
wrapper[method] = function() {
// console.log('called ' + member); // track method calls on the player
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
return (<any>player)[method].apply(player, arguments);
};
}
Expand Down

0 comments on commit 119bb1b

Please sign in to comment.