Migration of loading to ES6 module

This commit is contained in:
Cameron 2020-07-28 23:08:27 +01:00
parent 40b98bb3d4
commit 675cad71d8
45 changed files with 146 additions and 67 deletions

View file

@ -1,6 +1,8 @@
define(['datetime', 'cardBuilder', 'imageLoader', 'apphost', 'loading', 'paper-icon-button-light', 'emby-button'], function (datetime, cardBuilder, imageLoader, appHost, loading) {
'use strict';
loading = loading.default || loading;
function renderTimers(context, timers) {
var html = '';
html += cardBuilder.getCardsHtml({