From fbe4628a3814950ca56b0a5bfbd8f40b4300d19e Mon Sep 17 00:00:00 2001 From: Chuck Date: Sun, 24 May 2026 18:48:16 -0400 Subject: [PATCH] fix(lint): declare updateDisplayPreview in ESLint global comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Codacy flagged 'updateDisplayPreview is not defined' at app.js:73. The function is defined in base.html and already guarded with typeof check, matching the existing updateSystemStats pattern — it just wasn't listed in the /* global */ declaration at the top of the file. Co-Authored-By: Claude Sonnet 4.6 --- web_interface/static/v3/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_interface/static/v3/app.js b/web_interface/static/v3/app.js index fae7f5e0..01ed814a 100644 --- a/web_interface/static/v3/app.js +++ b/web_interface/static/v3/app.js @@ -1,4 +1,4 @@ -/* global showNotification, updateSystemStats, htmx */ +/* global showNotification, updateSystemStats, updateDisplayPreview, htmx */ // LED Matrix v3 JavaScript // Additional helpers for HTMX and Alpine.js integration