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,5 +1,5 @@
|
|||
import events from 'events';
|
||||
import playbackManager from 'playbackManager';
|
||||
import { Events } from 'jellyfin-apiclient';
|
||||
import playbackManager from '../components/playback/playbackmanager';
|
||||
|
||||
export function supported() {
|
||||
return typeof(Storage) !== 'undefined';
|
||||
|
@ -43,5 +43,5 @@ function onOpen() {
|
|||
|
||||
const apiClient = window.connectionManager.currentApiClient();
|
||||
if (apiClient && supported()) {
|
||||
events.on(apiClient, 'websocketopen', onOpen);
|
||||
Events.on(apiClient, 'websocketopen', onOpen);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue