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:
co-authored by
Claude Opus 4.8
parent
3d86330894
commit
532c17747f
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user