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:
parent
1f8ce6e6f4
commit
69507a0bd9
4 changed files with 26 additions and 9 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue