mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Make import paths ES6-compatible
This commit is contained in:
parent
1a635e2f81
commit
bfb8c7c1f6
245 changed files with 2073 additions and 1995 deletions
|
@ -1,11 +1,12 @@
|
|||
import events from 'events';
|
||||
import globalize from 'globalize';
|
||||
import dom from 'dom';
|
||||
import events from 'jellyfin-apiclient';
|
||||
import globalize from '../scripts/globalize';
|
||||
import dom from '../scripts/dom';
|
||||
import * as datefns from 'date-fns';
|
||||
import dfnshelper from 'dfnshelper';
|
||||
import serverNotifications from 'serverNotifications';
|
||||
import 'emby-button';
|
||||
import 'listViewStyle';
|
||||
import dfnshelper from '../scripts/dfnshelper';
|
||||
import serverNotifications from '../scripts/serverNotifications';
|
||||
import connectionManager from 'jellyfin-apiclient';
|
||||
import '../elements/emby-button/emby-button';
|
||||
import './listview/listview.css';
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
|
@ -127,7 +128,7 @@ import 'listViewStyle';
|
|||
}
|
||||
|
||||
function showItemOverview(item) {
|
||||
import('alert').then(({default: alert}) => {
|
||||
import('./alert').then((alert) => {
|
||||
alert({
|
||||
text: item.Overview
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue