mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-16 01:56:55 +00:00
eslint: comment out some empty methods that don't appear to be used
This commit is contained in:
parent
bc91824beb
commit
c9dd385370
1 changed files with 34 additions and 34 deletions
|
@ -202,8 +202,8 @@ export default class Player extends PlayerBase {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
this.PlayerSource.on('mount', this.checkCarousel, this);
|
// this.PlayerSource.on('mount', this.checkCarousel, this);
|
||||||
this.PlayerSource.on('update', this.checkCarousel, this);
|
// this.PlayerSource.on('update', this.checkCarousel, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
maybeOpenChat() {
|
maybeOpenChat() {
|
||||||
|
@ -220,24 +220,24 @@ export default class Player extends PlayerBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
checkCarousel(inst) {
|
// checkCarousel(inst) {
|
||||||
/*if ( this.settings.get('channel.hosting.enable') )
|
// /*if ( this.settings.get('channel.hosting.enable') )
|
||||||
return;
|
// return;
|
||||||
|
//
|
||||||
if ( inst.props?.playerType === 'channel_home_carousel' ) {
|
// if ( inst.props?.playerType === 'channel_home_carousel' ) {
|
||||||
if ( inst.props.content?.hostChannel === inst._ffz_cached_login )
|
// if ( inst.props.content?.hostChannel === inst._ffz_cached_login )
|
||||||
return;
|
// return;
|
||||||
|
//
|
||||||
inst._ffz_cached_login = inst.props.content?.hostChannel;
|
// inst._ffz_cached_login = inst.props.content?.hostChannel;
|
||||||
if ( ! inst._ffz_cached_login )
|
// if ( ! inst._ffz_cached_login )
|
||||||
return;
|
// return;
|
||||||
|
//
|
||||||
const player = inst.props.mediaPlayerInstance,
|
// const player = inst.props.mediaPlayerInstance,
|
||||||
events = inst.props.playerEvents;
|
// events = inst.props.playerEvents;
|
||||||
|
//
|
||||||
this.stopPlayer(player, events, inst);
|
// this.stopPlayer(player, events, inst);
|
||||||
}*/
|
// }*/
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
|
||||||
getData() {
|
getData() {
|
||||||
|
@ -275,18 +275,18 @@ export default class Player extends PlayerBase {
|
||||||
* @memberof Player
|
* @memberof Player
|
||||||
* @returns {void}
|
* @returns {void}
|
||||||
*/
|
*/
|
||||||
repositionPlayer() {
|
// repositionPlayer() {
|
||||||
// TODO: New implementation that works.
|
// // TODO: New implementation that works.
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
updateSquadContext() {
|
// updateSquadContext() {
|
||||||
this.settings.updateContext({
|
// this.settings.updateContext({
|
||||||
squad_bar: this.hasSquadBar
|
// squad_bar: this.hasSquadBar
|
||||||
});
|
// });
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
get hasSquadBar() {
|
// get hasSquadBar() {
|
||||||
// TODO: New implementation that works.
|
// // TODO: New implementation that works.
|
||||||
return false;
|
// return false;
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue