4 Commits

Author SHA1 Message Date
26db9f5d0f
Went ahead with Base class
It just makes sense
2026-07-01 15:38:36 -05:00
7a9fb5ac0c
Refactor to classes
This pattern is a natural fit for the js module system in the browser.
This gets rid of globals. Instead, index.js creates an instance of Main,
which then instantiates each of the specialized classes.

We should probably do class inheritance for the setMain pattern. On the other hand it's currently only 3 lines of code, so we'd only be saving 1 LOC per class, while creating a new class, and it wouldn't really be simpler. If our classes take on more features, we can further refactor.
2026-07-01 14:15:43 -05:00
de46a13dfb
initial commit of site code 2026-07-01 02:42:23 -05:00
3c9d614db2 Initial commit 2026-07-01 02:39:55 -05:00