Add no-useless-constructor eslint rule and fix issues
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user