1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Add ES6 import hack for 'browser'

This commit is contained in:
Dmitry Lyzo 2020-08-02 15:25:20 +03:00
parent dbd6d2fb35
commit 40b6403134
12 changed files with 21 additions and 0 deletions

View file

@ -1,6 +1,8 @@
define(["browser", "dom", "css!./navdrawer", "scrollStyles"], function (browser, dom) {
"use strict";
browser = browser.default || browser;
return function (options) {
function getTouches(e) {
return e.changedTouches || e.targetTouches || e.touches;

View file

@ -1,6 +1,8 @@
define(['browser', 'layoutManager', 'dom', 'focusManager', 'ResizeObserver', 'scrollStyles'], function (browser, layoutManager, dom, focusManager, ResizeObserver) {
'use strict';
browser = browser.default || browser;
/**
* Return type of the value.
*