Skip to content

Commit dc694fe

Browse files
committed
qmsched: fix lint
1 parent 3b1b352 commit dc694fe

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

apps/qmsched/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ function applyTheme() {
111111
*/
112112
function showThemeMenu(back, quiet){
113113
const option = quiet ? "quietTheme" : "normalTheme";
114-
function cl(x) { return g.setColor(x).getColor(); }
115114
var themesMenu = {
116115
'':{title:/*LANG*/'Theme', back: back},
117116
/*LANG*/'Default': ()=>{
@@ -136,6 +135,7 @@ function showThemeMenu(back, quiet){
136135
* Library uses this to make the app update itself
137136
* @param {int} mode New Quite Mode
138137
*/
138+
//eslint-disable-next-line no-unused-vars
139139
function setAppQuietMode(mode) {
140140
if (mode === current) return;
141141
current = mode;

apps/qmsched/lib.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ exports.setMode = function(mode) {
9191
));
9292
exports.applyOptions(mode);
9393
if (typeof WIDGETS === "object" && "qmsched" in WIDGETS) WIDGETS["qmsched"].draw();
94+
//eslint-disable-next-line no-undef
9495
if (global.setAppQuietMode) setAppQuietMode(mode); // current app knows how to update itself
9596
};
9697
/**

0 commit comments

Comments
 (0)