fixes for lint errors
added missing packages for lint removed unecessary babel/polyfill
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
import loading from '../../components/loading/loading';
|
||||
import keyboardnavigation from '../../scripts/keyboardNavigation';
|
||||
import dialogHelper from '../../components/dialogHelper/dialogHelper';
|
||||
import dom from '../../scripts/dom';
|
||||
import '../../scripts/dom';
|
||||
import { Events } from 'jellyfin-apiclient';
|
||||
import './style.css';
|
||||
import 'material-design-icons-iconfont';
|
||||
import '../../elements/emby-button/paper-icon-button-light';
|
||||
import ServerConnections from '../../components/ServerConnections';
|
||||
import TableOfContents from './tableOfContents';
|
||||
import browser from '../../scripts/browser';
|
||||
|
||||
export class BookPlayer {
|
||||
constructor() {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { Archive } from 'libarchive.js/main.js';
|
||||
// eslint-disable-next-line import/named, import/namespace
|
||||
import { Archive } from 'libarchive.js';
|
||||
import loading from '../../components/loading/loading';
|
||||
import dialogHelper from '../../components/dialogHelper/dialogHelper';
|
||||
import keyboardnavigation from '../../scripts/keyboardNavigation';
|
||||
|
||||
@@ -11,11 +11,11 @@ export default class PhotoPlayer {
|
||||
play(options) {
|
||||
return new Promise(function (resolve, reject) {
|
||||
import('../../components/slideshow/slideshow').then(({default: Slideshow}) => {
|
||||
var index = options.startIndex || 0;
|
||||
const index = options.startIndex || 0;
|
||||
|
||||
var apiClient = ServerConnections.currentApiClient();
|
||||
const apiClient = ServerConnections.currentApiClient();
|
||||
apiClient.getCurrentUser().then(function(result) {
|
||||
var newSlideShow = new Slideshow({
|
||||
const newSlideShow = new Slideshow({
|
||||
showTitle: false,
|
||||
cover: false,
|
||||
items: options.items,
|
||||
|
||||
Reference in New Issue
Block a user