infoclk: Make sure varibales are properly defined

pull/3627/head
thyttan 2024-10-28 20:32:51 +01:00
parent 2d25812228
commit e749735b89
3 changed files with 6 additions and 2 deletions

View File

@ -12,3 +12,4 @@
Broke out config loading into separate file to avoid duplicating a whole bunch of code
Added support for fast loading
0.10: Minor code improvements
0.11: Make sure variables are properly defined in settings.js

View File

@ -1,7 +1,7 @@
{
"id": "infoclk",
"name": "Informational clock",
"version": "0.10",
"version": "0.11",
"description": "A configurable clock with extra info and shortcuts when unlocked, but large time when locked",
"readme": "README.md",
"icon": "icon.png",
@ -41,4 +41,4 @@
"dependencies": {
"weather": "app"
}
}
}

View File

@ -17,6 +17,9 @@
} else return '' + hour;
}
let minute; // Is used in onchange functions. Defined here to appease the linter.
let hour; // Is used in onchange functions. Defined here to appease the linter.
// The menu for configuring when the seconds are shown
function showSecondsMenu() {
E.showMenu({