Run eslint over files, see what gets fixed automatically and clean up

This commit is contained in:
rejas 2020-07-27 14:24:30 +02:00
parent f4eae72c48
commit 43bcf4ab98
11 changed files with 72 additions and 24 deletions

View file

@ -152,6 +152,10 @@ Module.register("clock", {
timeWrapper.appendChild(periodWrapper);
}
/**
* @param config
* @param time
*/
function formatTime(config, time) {
var formatString = hourSymbol + ":mm";
if (config.showPeriod && config.timeFormat !== 24) {