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', 'dom', 'css!./emby-scrollbuttons', 'registerElement', 'paper-icon-button-light'], function (layoutManager, dom) {
'use strict';
import layoutManager from 'layoutManager';
import dom from 'dom';
import 'css!./emby-scrollbuttons';
import 'registerElement';
import 'paper-icon-button-light';
/* eslint-disable indent */
var EmbyScrollButtonsPrototype = Object.create(HTMLDivElement.prototype);
@ -175,4 +180,5 @@ define(['layoutManager', 'dom', 'css!./emby-scrollbuttons', 'registerElement', '
prototype: EmbyScrollButtonsPrototype,
extends: 'div'
});
});
/* eslint-enable indent */