fix: strip line number prefixes from all JS files
This commit is contained in:
parent
deadf1e1ea
commit
a2ff9297ce
@ -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';
|
import { state } from './state.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';
|
import { state } from './state.js';
|
||||||
|
|
||||||
let _recentTimestampTimer = null;
|
let _recentTimestampTimer = null;
|
||||||
|
|||||||
@ -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';
|
import { state } from './state.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. */
|
Phase 2: theme colors, tooltips, depth slider, full-vault, search, backlinks. */
|
||||||
import { api } from './auth.js';
|
import { api } from './auth.js';
|
||||||
import { safeCreateIcons } from './utils.js';
|
import { safeCreateIcons } from './utils.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.
|
Extracted from the monolithic frontend/app.js IIFE.
|
||||||
Functions already in other modules are re-exported. */
|
Functions already in other modules are re-exported. */
|
||||||
|
|
||||||
|
|||||||
@ -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 { state } from './state.js';
|
||||||
import { safeCreateIcons } from './utils.js';
|
import { safeCreateIcons } from './utils.js';
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
1|/* ObsiGate — Sync: SSE client + PWA registration */
|
/* ObsiGate — Sync: SSE client + PWA registration */
|
||||||
import { state } from './state.js';
|
import { state } from './state.js';
|
||||||
import { showToast } from './ui.js';
|
import { showToast } from './ui.js';
|
||||||
import { loadVaults, loadTags, refreshTagsForContext } from './sidebar.js';
|
import { loadVaults, loadTags, refreshTagsForContext } from './sidebar.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 { state } from './state.js';
|
||||||
import { openFile } from './viewer.js';
|
import { openFile } from './viewer.js';
|
||||||
import { safeCreateIcons } from './utils.js';
|
import { safeCreateIcons } from './utils.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 { state } from './state.js';
|
||||||
import { escapeHtml, safeCreateIcons, safeHighlight, getFileIcon } from "./utils.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] ...
|
... [OUTPUT TRUNCATED - 13907 chars omitted out of 63907 total] ...
|
||||||
|
|
||||||
1| startY = e.touches[0].clientY;
|
startY = e.touches[0].clientY;
|
||||||
clearPressTimer();
|
clearPressTimer();
|
||||||
pressTimer = setTimeout(() => {
|
pressTimer = setTimeout(() => {
|
||||||
const data = getMenuData();
|
const data = getMenuData();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user