mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
remove smells
This commit is contained in:
parent
a09ceeefa3
commit
f7c3445e1c
@ -1,5 +1,4 @@
|
|||||||
import loading from 'loading';
|
import loading from 'loading';
|
||||||
import events from 'events';
|
|
||||||
import libraryBrowser from 'libraryBrowser';
|
import libraryBrowser from 'libraryBrowser';
|
||||||
import imageLoader from 'imageLoader';
|
import imageLoader from 'imageLoader';
|
||||||
import listView from 'listView';
|
import listView from 'listView';
|
||||||
|
@ -3,10 +3,8 @@ import loading from 'loading';
|
|||||||
import libraryBrowser from 'libraryBrowser';
|
import libraryBrowser from 'libraryBrowser';
|
||||||
import cardBuilder from 'cardBuilder';
|
import cardBuilder from 'cardBuilder';
|
||||||
import lazyLoader from 'lazyLoader';
|
import lazyLoader from 'lazyLoader';
|
||||||
import appHost from 'apphost';
|
|
||||||
import globalize from 'globalize';
|
import globalize from 'globalize';
|
||||||
import appRouter from 'appRouter';
|
import appRouter from 'appRouter';
|
||||||
import dom from 'dom';
|
|
||||||
import 'emby-button';
|
import 'emby-button';
|
||||||
|
|
||||||
/* eslint-disable indent */
|
/* eslint-disable indent */
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import loading from 'loading';
|
import loading from 'loading';
|
||||||
import layoutManager from 'layoutManager';
|
|
||||||
import * as userSettings from 'userSettings';
|
import * as userSettings from 'userSettings';
|
||||||
import events from 'events';
|
import events from 'events';
|
||||||
import libraryBrowser from 'libraryBrowser';
|
import libraryBrowser from 'libraryBrowser';
|
||||||
|
@ -423,7 +423,7 @@ import 'emby-button';
|
|||||||
events.on(playbackManager, 'playbackstop', onPlaybackStop);
|
events.on(playbackManager, 'playbackstop', onPlaybackStop);
|
||||||
inputManager.on(window, onInputCommand);
|
inputManager.on(window, onInputCommand);
|
||||||
});
|
});
|
||||||
view.addEventListener('viewbeforehide', function (e) {
|
view.addEventListener('viewbeforehide', function () {
|
||||||
inputManager.off(window, onInputCommand);
|
inputManager.off(window, onInputCommand);
|
||||||
});
|
});
|
||||||
for (const tabController of tabControllers) {
|
for (const tabController of tabControllers) {
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
import layoutManager from 'layoutManager';
|
|
||||||
import loading from 'loading';
|
import loading from 'loading';
|
||||||
import events from 'events';
|
import events from 'events';
|
||||||
import libraryBrowser from 'libraryBrowser';
|
import libraryBrowser from 'libraryBrowser';
|
||||||
|
Loading…
Reference in New Issue
Block a user