migrate emby-radio, scroller and tabs to ES6 modules

This commit is contained in:
Cameron 2020-07-08 17:41:33 +01:00
parent 1f8ce6e6f4
commit f2669cd530
4 changed files with 34 additions and 9 deletions

View file

@ -1,5 +1,8 @@
define(['layoutManager', 'css!./emby-radio', 'registerElement'], function (layoutManager) {
'use strict';
import layoutManager from 'layoutManager';
import 'css!./emby-radio';
import 'registerElement';
/* eslint-disable indent */
var EmbyRadioPrototype = Object.create(HTMLInputElement.prototype);
@ -76,4 +79,5 @@ define(['layoutManager', 'css!./emby-radio', 'registerElement'], function (layou
prototype: EmbyRadioPrototype,
extends: 'input'
});
});
/* eslint-enable indent */