refactor: drop the now dead compterEvenements helper

It existed as T1's proof of life; the rendered list proves it better.
liste.js was its only caller and no longer counts VEVENTs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Pierre Martin
2026-07-14 18:23:38 +02:00
co-authored by Claude Opus 4.8
parent 3d86330894
commit 532c17747f
2 changed files with 0 additions and 25 deletions
-6
View File
@@ -30,9 +30,3 @@ export async function recupererFluxCalendrier(fetchImpl) {
}
return { ok: true, flux };
}
// Preuve de vie de T1 : compte les vrais débuts de VEVENT (ancrage ligne, pas
// une chaîne « BEGIN:VEVENT » apparaissant dans une DESCRIPTION).
export function compterEvenements(flux) {
return (flux.match(/^BEGIN:VEVENT\s*$/gm) ?? []).length;
}