1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix eslint errors for empty functions/constructors

This commit is contained in:
Bill Thornton 2022-03-01 10:57:48 -05:00
parent 8fefc22669
commit 9067b0e397
19 changed files with 50 additions and 37 deletions

View file

@ -166,7 +166,6 @@ function Guide(options) {
stopAutoRefresh();
Events.off(serverNotifications, 'TimerCreated', onTimerCreated);
Events.off(serverNotifications, 'SeriesTimerCreated', onSeriesTimerCreated);
Events.off(serverNotifications, 'TimerCancelled', onTimerCancelled);
Events.off(serverNotifications, 'SeriesTimerCancelled', onSeriesTimerCancelled);
@ -1057,9 +1056,6 @@ function Guide(options) {
}
}
function onSeriesTimerCreated() {
}
function onTimerCancelled(e, apiClient, data) {
const id = data.Id;
// find guide cells by timer id, remove timer icon
@ -1186,7 +1182,6 @@ function Guide(options) {
Events.trigger(self, 'load');
Events.on(serverNotifications, 'TimerCreated', onTimerCreated);
Events.on(serverNotifications, 'SeriesTimerCreated', onSeriesTimerCreated);
Events.on(serverNotifications, 'TimerCancelled', onTimerCancelled);
Events.on(serverNotifications, 'SeriesTimerCancelled', onSeriesTimerCancelled);