phetsims / ohms-law

"Ohm's Law" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/ohms-law
GNU General Public License v3.0
5 stars 6 forks source link

tandem should be passed through options when options is supported #154

Closed zepumph closed 4 years ago

zepumph commented 4 years ago

This is new from after working on this sim, but there are many places in this sim where tandem is passed as a param only to be used as the default to options. This is worse that just passing as an option, with Tandem.REQUIRED as the default for the option.

zepumph commented 4 years ago

tandem is now passed as a parameter only the the screen, model, and view. Closing