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,9 @@
define(['browser', 'dom', 'css!./emby-checkbox', 'registerElement'], function (browser, dom) {
'use strict';
import browser from 'browser';
import dom from 'dom';
import 'css!./emby-checkbox';
import 'registerElement';
/* eslint-disable indent */
var EmbyCheckboxPrototype = Object.create(HTMLInputElement.prototype);
@ -103,4 +107,5 @@ define(['browser', 'dom', 'css!./emby-checkbox', 'registerElement'], function (b
prototype: EmbyCheckboxPrototype,
extends: 'input'
});
});
/* eslint-enable indent */