From c458c4b4ffd366b71a35a96fcf1204c123d47aa6 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 8 May 2026 06:49:46 +0200 Subject: [PATCH] convert chart review entrypoint to module --- public/index.html | 2 +- public/js/chartReview.js | 2 -- test/module-entrypoints.test.js | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/public/index.html b/public/index.html index e8afd06..65ee7d2 100644 --- a/public/index.html +++ b/public/index.html @@ -488,7 +488,7 @@ - + diff --git a/public/js/chartReview.js b/public/js/chartReview.js index 9dae56d..3e7e94b 100644 --- a/public/js/chartReview.js +++ b/public/js/chartReview.js @@ -1,4 +1,3 @@ -(function() { var _inited = false; document.addEventListener('tabChanged', function(e) { if (e.detail.tab !== 'chart' || _inited) return; @@ -190,4 +189,3 @@ console.log('✅ Chart Review module loaded'); }); -})(); diff --git a/test/module-entrypoints.test.js b/test/module-entrypoints.test.js index c863b6f..706f230 100644 --- a/test/module-entrypoints.test.js +++ b/test/module-entrypoints.test.js @@ -5,6 +5,7 @@ const path = require('node:path'); const moduleEntrypoints = [ 'public/js/calculators.js', + 'public/js/chartReview.js', 'public/js/clinicalAssistant.js', 'public/js/admin.js', 'public/js/diagrams.js',