-
Notifications
You must be signed in to change notification settings - Fork 2
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
fill in gaps in public-facing developer documentation #1022
Comments
If |
From developer meeting today:
@pixelzoom volunteered to implement the last two bullets. Thank you @pixelzoom!! |
add `grunt lint` to tools, phetsims/tasks#1022
I added this to the "Utilities and Instrumentation for Development and Testing" section of the PhET Development Overview:
There was a sparse description of
This will presumably be addressed by phetsims/chipper#854, no action required here.
I added assertions that type-check arguments to example-sim and simula-rasa. The example in example-sim explains what they are, and how to enable them: // This is an example of using assertions to check for potential programming errors. In this case, we are verifying
// that the arguments have the expected type. Run the simulation with query parameter ?ea to enable assertions.
assert && assert( barMagnet instanceof BarMagnet, 'invalid barMagnet' );
assert && assert( modelViewTransform instanceof ModelViewTransform2, 'invalid modelViewTransform' ); @ariel-phet please assigning someone to review. |
revise ?ea description phetsims/chipper#854
@chrisklus please feel free to close once review (and any changes or back and forth that should take place) are complete. |
Code and documentation changes look good. I tested the type checks added to |
👍 Closing. |
add `grunt lint` to tools, phetsims/tasks#1022
Over in phetsims/normal-modes#2, I did a code review of Normal Modes, contributed by a 3rd party. The review took longer than expected because the 3rd party was not aware of some of the essential tools and documentation that PhET relies on.
@ariel-phet asked me to create this issue based on my comment in phetsims/normal-modes#2 (comment):
In the case of Normal Modes, the 3rd party was not aware of:
Looking through the GitHub issues related to the code review may identify some others, but those are the "big 3".
The text was updated successfully, but these errors were encountered: