From a2ff9297ce2abe6f87c08311f8f0d0dbe86b03d6 Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Thu, 28 May 2026 16:46:17 -0400 Subject: [PATCH] fix: strip line number prefixes from all JS files --- frontend/js/auth.js | 2 +- frontend/js/config.js | 2 +- frontend/js/dashboard.js | 2 +- frontend/js/graph.js | 2 +- frontend/js/legacy.js | 2 +- frontend/js/search.js | 2 +- frontend/js/sync.js | 2 +- frontend/js/ui.js | 2 +- frontend/js/viewer.js | 4 ++-- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/frontend/js/auth.js b/frontend/js/auth.js index 16a6cfc..ec2a18f 100644 --- a/frontend/js/auth.js +++ b/frontend/js/auth.js @@ -1,4 +1,4 @@ -1|/* ObsiGate — Authentication: API helper, AuthManager, login form, AdminPanel */ +/* ObsiGate — Authentication: API helper, AuthManager, login form, AdminPanel */ import { state } from './state.js'; // --------------------------------------------------------------------------- diff --git a/frontend/js/config.js b/frontend/js/config.js index 5dc72a1..0112e9c 100644 --- a/frontend/js/config.js +++ b/frontend/js/config.js @@ -1,4 +1,4 @@ -1|// config.js — extracted from app.js (3872-4865) +// config.js — extracted from app.js (3872-4865) import { state } from './state.js'; let _recentTimestampTimer = null; diff --git a/frontend/js/dashboard.js b/frontend/js/dashboard.js index 6b97f75..3fe02d2 100644 --- a/frontend/js/dashboard.js +++ b/frontend/js/dashboard.js @@ -1,4 +1,4 @@ -1|// dashboard.js — extracted from app.js (3414-3806) + DashboardBookmarkWidget (3810-3870) +// dashboard.js — extracted from app.js (3414-3806) + DashboardBookmarkWidget (3810-3870) import { state } from './state.js'; // --------------------------------------------------------------------------- diff --git a/frontend/js/graph.js b/frontend/js/graph.js index eb62782..01bdd4d 100644 --- a/frontend/js/graph.js +++ b/frontend/js/graph.js @@ -1,4 +1,4 @@ -1|/* ObsiGate — Graph View: interactive file/folder relationship visualization. +/* ObsiGate — Graph View: interactive file/folder relationship visualization. Phase 2: theme colors, tooltips, depth slider, full-vault, search, backlinks. */ import { api } from './auth.js'; import { safeCreateIcons } from './utils.js'; diff --git a/frontend/js/legacy.js b/frontend/js/legacy.js index b822bb4..66e1c36 100644 --- a/frontend/js/legacy.js +++ b/frontend/js/legacy.js @@ -1,4 +1,4 @@ -1|/* ObsiGate — Legacy module: remaining functions for the orchestrator +/* ObsiGate — Legacy module: remaining functions for the orchestrator Extracted from the monolithic frontend/app.js IIFE. Functions already in other modules are re-exported. */ diff --git a/frontend/js/search.js b/frontend/js/search.js index 032103c..18d9c31 100644 --- a/frontend/js/search.js +++ b/frontend/js/search.js @@ -1,4 +1,4 @@ -1|/* ObsiGate — Search module (extracted from app.js) */ +/* ObsiGate — Search module (extracted from app.js) */ import { state } from './state.js'; import { safeCreateIcons } from './utils.js'; diff --git a/frontend/js/sync.js b/frontend/js/sync.js index fb21f58..7b69879 100644 --- a/frontend/js/sync.js +++ b/frontend/js/sync.js @@ -1,4 +1,4 @@ -1|/* ObsiGate — Sync: SSE client + PWA registration */ +/* ObsiGate — Sync: SSE client + PWA registration */ import { state } from './state.js'; import { showToast } from './ui.js'; import { loadVaults, loadTags, refreshTagsForContext } from './sidebar.js'; diff --git a/frontend/js/ui.js b/frontend/js/ui.js index 967431e..a1be93f 100644 --- a/frontend/js/ui.js +++ b/frontend/js/ui.js @@ -1,4 +1,4 @@ -1|/* ObsiGate — UI: theme, sidebar, context menus, tabs, toast, find-in-page */ +/* ObsiGate — UI: theme, sidebar, context menus, tabs, toast, find-in-page */ import { state } from './state.js'; import { openFile } from './viewer.js'; import { safeCreateIcons } from './utils.js'; diff --git a/frontend/js/viewer.js b/frontend/js/viewer.js index ec650f3..d0016cc 100644 --- a/frontend/js/viewer.js +++ b/frontend/js/viewer.js @@ -1,4 +1,4 @@ -1|/* ObsiGate — Viewer module: Outline, ScrollSpy, ReadingProgress, file viewer, frontmatter card, editor init */ +/* ObsiGate — Viewer module: Outline, ScrollSpy, ReadingProgress, file viewer, frontmatter card, editor init */ import { state } from './state.js'; import { escapeHtml, safeCreateIcons, safeHighlight, getFileIcon } from "./utils.js"; @@ -509,7 +509,7 @@ function renderFile(data) { ... [OUTPUT TRUNCATED - 13907 chars omitted out of 63907 total] ... -1| startY = e.touches[0].clientY; + startY = e.touches[0].clientY; clearPressTimer(); pressTimer = setTimeout(() => { const data = getMenuData();