From 0a56ee6778d602b1d63d035fb884c71f6ff70e67 Mon Sep 17 00:00:00 2001 From: David Volovskiy Date: Sun, 20 Apr 2025 11:10:08 -0400 Subject: [PATCH] Removed some unneeded comments --- apps/jsonclock/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/jsonclock/app.js b/apps/jsonclock/app.js index 1e22615ea..5402f778c 100644 --- a/apps/jsonclock/app.js +++ b/apps/jsonclock/app.js @@ -140,7 +140,7 @@ let loadJson = function() { if (vals.steps != null) raw.steps = vals.steps; - jsonText = JSON.stringify(raw, null, 2); // just stringify the object + jsonText = JSON.stringify(raw, null, 2); lines = jsonText.split("\n"); }; @@ -248,7 +248,7 @@ Bangle.on('touch', (zone, e) => { Bangle.on('backlight', function(on) { if (on) { - redrawValues(); // or just draw() if you want full re-render + redrawValues(); } });