mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add no-useless-constructor eslint rule and fix issues
This commit is contained in:
parent
e9f0a82d8c
commit
bef05ba117
3 changed files with 6 additions and 9 deletions
|
@ -9,10 +9,6 @@ import TimeSync from './TimeSync';
|
|||
* Class that manages time syncing with server.
|
||||
*/
|
||||
class TimeSyncServer extends TimeSync {
|
||||
constructor(syncPlayManager) {
|
||||
super(syncPlayManager);
|
||||
}
|
||||
|
||||
/**
|
||||
* Makes a ping request to the server.
|
||||
*/
|
||||
|
|
|
@ -10,10 +10,6 @@ import HtmlVideoPlayer from './HtmlVideoPlayer';
|
|||
*/
|
||||
class HtmlAudioPlayer extends HtmlVideoPlayer {
|
||||
static type = 'htmlaudioplayer';
|
||||
|
||||
constructor(player, syncPlayManager) {
|
||||
super(player, syncPlayManager);
|
||||
}
|
||||
}
|
||||
|
||||
export default HtmlAudioPlayer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue