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

Migration of emby-checkbox, textarea, toggle to ES6 Modules

This commit is contained in:
Cameron 2020-07-08 16:32:57 +01:00
parent 1f8ce6e6f4
commit 69507a0bd9
4 changed files with 26 additions and 9 deletions

View file

@ -1,5 +1,7 @@
define(['css!./emby-toggle', 'registerElement'], function () {
'use strict';
import 'css!./emby-toggle';
import 'registerElement';
/* eslint-disable indent */
var EmbyTogglePrototype = Object.create(HTMLInputElement.prototype);
@ -47,4 +49,5 @@ define(['css!./emby-toggle', 'registerElement'], function () {
prototype: EmbyTogglePrototype,
extends: 'input'
});
});
/* eslint-enable indent */