-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename this.tandem to prevent shadowing #212
Comments
I renamed in PrecipitateParticle, ShakerParticle and TShakerParticle. But in
... and there is no use of the tandem in Assigning to @samreid, since he instrumented this sim. |
Yes, it seems safe to remove. I tested with phet-io fuzzMouse and didn't see any issues, so I committed the removal. Back to you @pixelzoom |
Next question... Why was a tandem field necessary for ShakerParticle, but not for PrecipitateParticle? Seems like their instrumentation would have identical requirements. |
I couldn't figure out why the tandem was in |
Sounds like an instrument everything policy to me. I'm not sure we need it, but if we do keep it, 4b77ee8 has a mistake in it. The toStateObject key |
@zepumph does 3374339 fix the problem that you noted in #212 (comment)? I certainly don't know whether |
OK, so you want to use |
I deleted @samreid please review. |
ARGH, you are very correct, sorry about that. |
Looks like the tandems are not necessary in the state, I tested and confirmed the state wrapper still behaves nicely. Closing. |
Please follow the conventions described in https://github.com/phetsims/phet-io/issues/1239
There is one occurrence in PrecipitateParticle and one in ShakerParticle
The text was updated successfully, but these errors were encountered: