Force the use of single quotes

This commit is contained in:
MrTimscampi 2020-05-04 12:44:12 +02:00
parent 8b6dc05d64
commit 9e3ca706c4
217 changed files with 8541 additions and 8540 deletions

View file

@ -1,16 +1,16 @@
define(["datetime", "cardBuilder", "imageLoader", "apphost", "loading", "paper-icon-button-light", "emby-button"], function (datetime, cardBuilder, imageLoader, appHost, loading) {
"use strict";
define(['datetime', 'cardBuilder', 'imageLoader', 'apphost', 'loading', 'paper-icon-button-light', 'emby-button'], function (datetime, cardBuilder, imageLoader, appHost, loading) {
'use strict';
function renderTimers(context, timers) {
var html = "";
appHost.supports("imageanalysis");
var html = '';
appHost.supports('imageanalysis');
html += cardBuilder.getCardsHtml({
items: timers,
shape: "auto",
defaultShape: "portrait",
shape: 'auto',
defaultShape: 'portrait',
showTitle: true,
cardLayout: false,
preferThumb: "auto",
preferThumb: 'auto',
coverImage: true,
overlayText: false,
showSeriesTimerTime: true,
@ -19,7 +19,7 @@ define(["datetime", "cardBuilder", "imageLoader", "apphost", "loading", "paper-i
overlayMoreButton: true,
lines: 3
});
var elem = context.querySelector("#items");
var elem = context.querySelector('#items');
elem.innerHTML = html;
imageLoader.lazyChildren(elem);
loading.hide();
@ -33,8 +33,8 @@ define(["datetime", "cardBuilder", "imageLoader", "apphost", "loading", "paper-i
}
var query = {
SortBy: "SortName",
SortOrder: "Ascending"
SortBy: 'SortName',
SortOrder: 'Ascending'
};
return function (view, params, tabContent) {
var timersPromise;