3 Commits

Author SHA1 Message Date
0c7aa6207a
Added eslint and fixed small drag start bug 2026-07-01 18:25:58 -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