Cleanup init commit

This commit is contained in:
Extraltodeus
2026-07-13 22:26:50 +02:00
commit 1ff4063282
46 changed files with 12724 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
// Token display: leading/trailing spaces made visible with ˽ (like the original
// JLens) — ' Paris' → '˽Paris', 'foo ' → 'foo˽'. Without this it's impossible to
// tell ' Euro' from 'Euro' in the UI.
export function fmtTok(s) {
if (s == null) return ''
return String(s).replace(/^ +| +$/g, (m) => '˽'.repeat(m.length))
}