Modernize Javascript in Default Handler #96

Open
opened 2025-09-27 17:12:14 +00:00 by hz · 0 comments
Owner

As its name suggests, the code in cs_ajax.js was written ages ago. It could be substantially smaller and better if we made use of a bunch of JavaScript features that didn't exist at the time (like fetch and URLSearchParams).

As its name suggests, the code in [`cs_ajax.js`](https://catsoop.org/git/catsoop/catsoop/src/branch/main/catsoop/__HANDLERS__/default/__STATIC__/cs_ajax.js) was written ages ago. It could be substantially smaller and better if we made use of a bunch of JavaScript features that didn't exist at the time (like [`fetch`](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch) and [`URLSearchParams`](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams)).
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
catsoop/catsoop#96
No description provided.