Closed pixelzoom closed 8 years ago
In https://github.com/phetsims/bending-light/issues/356#issuecomment-245826609, @samreid said:
Those problems will interfere with the loading bar (if nothing else), we should address them.
I realized this will not interfere with the current loading bar proposal, but it should still be fixed.
fixed, closing
ResistanceInAWireScreen
constructor looks like this:The model is not supposed to be instantiated by the constructor, it's supposed to be instantiated on demand by Sim.js, when the Screen's
createModel
function is called. Unless there's a good reason to do things differently in this sim, the constructor should look like this:If there is a legitimate reason why it needs to be different, please document it.