mirror of
https://github.com/tiennm99/loto.git
synced 2026-10-14 12:17:00 +00:00
refactor: drop dead code left over from Cloudflare era
- Remove vietnamese-number.js + test: build-time Python script (generate-audio.py) is the sole spec for pre-baked MP3s; runtime no longer reads the JS module. - Remove resetMaster() export: only ever called from tests; inline the two-line body at test sites. - Update Python docstring to drop the JS-mirror reference. - Rewrite stale "CF Pages root" comment in svelte.config.js.
This commit is contained in:
1 parent
8fc3ec6ebd
commit
777b2dbaec
6 files changed
+6
-130
No files matched your search
@@ -23,7 +23,7 @@ ONES = [
|
||||
|
||||
|
||||
def number_to_vietnamese(n: int) -> str:
|
||||
"""Mirror of src/lib/vietnamese-number.js for build-time use."""
|
||||
"""Canonical Vietnamese number speller for build-time audio generation."""
|
||||
if n < 10:
|
||||
return ONES[n]
|
||||
if n == 10:
|
||||
|
||||
Reference in new issue
Block a user