1
0
Fork 0

infoclk: Make sure varibales are properly defined

master
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 Broke out config loading into separate file to avoid duplicating a whole bunch of code
Added support for fast loading Added support for fast loading
0.10: Minor code improvements 0.10: Minor code improvements
0.11: Make sure variables are properly defined in settings.js

View File

@ -1,7 +1,7 @@
{ {
"id": "infoclk", "id": "infoclk",
"name": "Informational clock", "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", "description": "A configurable clock with extra info and shortcuts when unlocked, but large time when locked",
"readme": "README.md", "readme": "README.md",
"icon": "icon.png", "icon": "icon.png",

View File

@ -17,6 +17,9 @@
} else return '' + hour; } 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 // The menu for configuring when the seconds are shown
function showSecondsMenu() { function showSecondsMenu() {
E.showMenu({ E.showMenu({