WebHost: Refactor weighted-settings.js ()

* Refactor weighted-settings.js

This moves most of the infrastructure into two classes:

* WeightedSettings covers the settings page as a whole. It tracks the
  user's current settings in local storage as well as the game data
  from the server so they don't need to be manually passed around from
  function to function.

* GameSettings covers the settings for a single game, and provides a
  view of the current settings and the game data just for that game.

* Fix item count updating
This commit is contained in:
Natalie Weizenbaum 2023-10-18 15:26:52 -07:00 committed by GitHub
parent 1c7c83c69e
commit 38c9ee146d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1037 additions and 1005 deletions
WebHostLib/static/assets

File diff suppressed because it is too large Load Diff