Make import paths ES6-compatible
This commit is contained in:
committed by
vitorsemeano
parent
1a635e2f81
commit
bfb8c7c1f6
@@ -1,8 +1,8 @@
|
||||
import dom from 'dom';
|
||||
import browser from 'browser';
|
||||
import events from 'events';
|
||||
import 'emby-tabs';
|
||||
import 'emby-button';
|
||||
import dom from '../scripts/dom';
|
||||
import browser from '../scripts/browser';
|
||||
import events from 'jellyfin-apiclient';
|
||||
import '../elements/emby-tabs/emby-tabs';
|
||||
import '../elements/emby-button/emby-button';
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
@@ -65,7 +65,7 @@ import 'emby-button';
|
||||
}
|
||||
};
|
||||
|
||||
import('touchHelper').then(({default: TouchHelper}) => {
|
||||
import('../scripts/touchHelper').then((TouchHelper) => {
|
||||
const touchHelper = new TouchHelper(view.parentNode.parentNode);
|
||||
|
||||
events.on(touchHelper, 'swipeleft', onSwipeLeft);
|
||||
|
||||
Reference in New Issue
Block a user