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

migrate emby-ratingbutton, scrollbuttons and select to ES6 modules

This commit is contained in:
Cameron 2020-07-08 16:40:30 +01:00
parent 1f8ce6e6f4
commit 5a1e01c650
4 changed files with 30 additions and 9 deletions

View file

@ -1,5 +1,10 @@
define(['layoutManager', 'browser', 'actionsheet', 'css!./emby-select', 'registerElement'], function (layoutManager, browser, actionsheet) {
'use strict';
import layoutManager from 'layoutManager';
import browser from 'browser';
import actionsheet from 'actionsheet';
import 'css!./emby-select';
import 'registerElement';
/* eslint-disable indent */
var EmbySelectPrototype = Object.create(HTMLSelectElement.prototype);
@ -159,4 +164,5 @@ define(['layoutManager', 'browser', 'actionsheet', 'css!./emby-select', 'registe
prototype: EmbySelectPrototype,
extends: 'select'
});
});
/* eslint-enable indent */