Closed sam-lb closed 1 month ago
I don't know why I allowed it to get to this point (script.js is 1,846 lines as of right now and has several semantically different tasks)
script.js
One possibility:
Plot
Plottable
validateInput
validateSliderInput
populateValueScope
script.js is still going to be a huge file after these changes, but it will be more organized.
I don't know why I allowed it to get to this point (
script.js
is 1,846 lines as of right now and has several semantically different tasks)One possibility:
script.js
, take everything else out (move all DOM interactions out of thePlot
class)Plot
should get its own modulePlottable
validateInput
,validateSliderInput
,populateValueScope
could get their own modulescript.js
is still going to be a huge file after these changes, but it will be more organized.