remove smells

This commit is contained in:
Cameron 2020-07-28 21:14:40 +01:00
parent a09ceeefa3
commit f7c3445e1c
5 changed files with 1 additions and 6 deletions

View File

@ -1,5 +1,4 @@
import loading from 'loading';
import events from 'events';
import libraryBrowser from 'libraryBrowser';
import imageLoader from 'imageLoader';
import listView from 'listView';

View File

@ -3,10 +3,8 @@ import loading from 'loading';
import libraryBrowser from 'libraryBrowser';
import cardBuilder from 'cardBuilder';
import lazyLoader from 'lazyLoader';
import appHost from 'apphost';
import globalize from 'globalize';
import appRouter from 'appRouter';
import dom from 'dom';
import 'emby-button';
/* eslint-disable indent */

View File

@ -1,5 +1,4 @@
import loading from 'loading';
import layoutManager from 'layoutManager';
import * as userSettings from 'userSettings';
import events from 'events';
import libraryBrowser from 'libraryBrowser';

View File

@ -423,7 +423,7 @@ import 'emby-button';
events.on(playbackManager, 'playbackstop', onPlaybackStop);
inputManager.on(window, onInputCommand);
});
view.addEventListener('viewbeforehide', function (e) {
view.addEventListener('viewbeforehide', function () {
inputManager.off(window, onInputCommand);
});
for (const tabController of tabControllers) {

View File

@ -1,4 +1,3 @@
import layoutManager from 'layoutManager';
import loading from 'loading';
import events from 'events';
import libraryBrowser from 'libraryBrowser';