1
0
Fork 0
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:
MrTimscampi 2020-08-14 08:46:34 +02:00 committed by vitorsemeano
parent 1a635e2f81
commit bfb8c7c1f6
245 changed files with 2073 additions and 1995 deletions

View file

@ -1,7 +1,7 @@
import $ from 'jQuery';
import loading from 'loading';
import libraryMenu from 'libraryMenu';
import globalize from 'globalize';
import 'jquery';
import loading from '../../../components/loading/loading';
import libraryMenu from '../../../scripts/libraryMenu';
import globalize from '../../../scripts/globalize';
/* eslint-disable indent */
@ -110,7 +110,7 @@ import globalize from 'globalize';
Dashboard.navigate('userprofiles.html');
loading.hide();
import('toast').then(({default: toast}) => {
import('../../../components/toast/toast').then((toast) => {
toast(globalize.translate('SettingsSaved'));
});
}