Changeset - 44c0a9db3247
[Not reviewed]
1 3 0
Ben Sturmfels (bsturmfels) - 4 months ago 2024-05-09 12:15:33
ben@sturm.com.au
Remove remaining jQuery

This avoids every page on the site parsing 250KB of JavaScript.

supporter-page.js isn't the most elegant code, but at least it's a little more
modular now and no longer user jQuery.
1 file changed:
TODO.md
3
3
Changeset was too big and was cut off... Show full diff anyway
0 comments (0 inline, 0 general)
TODO.md
Show inline comments
...
 
@@ -3,3 +3,2 @@
 
* ensure appropriate caching headers are used
 
* remove jQuery
 
* consider removing `events` and `worldmap` modules
...
 
@@ -7,4 +6,2 @@
 
* serve a 400 in Apache for a hostname we don't explicitly support
 
* use `<detail>` elements for supporter page hidden sections, rather than
 
  complex jQuery - or consider Alpine.js
 
* replace `internalNavigate` with inline flexbox layout
...
 
@@ -16,2 +13,5 @@
 

	
 
* use `<detail>` elements for supporter page hidden sections, rather than
 
  complex jQuery
 
* remove jQuery
 
* split the template/content files out from `conservancy/static` into their own

Changeset was too big and was cut off... Show full diff anyway

0 comments (0 inline, 0 general)