You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a few locations in the sim code where code that is useful for debugging is commented out. PhET prefers to use a pattern where the code is still live, but is deactivated through the use of a constant. This prevents the code from being accidentally deleted during code cleanup, and makes the code more likely to be at least partially maintained as the other code in the file evolves.
For an example of how to apply this technique, please see beers-law-lab/js/concentration/view/DropperNode.js, and search on the string "DEBUG_ORIGIN".
Locations where this was seen as of this writing (this is probably not an exhaustive list):
ParticleWebGLNode.js line 267-272
ParticleWebGLNode.js line 141
The text was updated successfully, but these errors were encountered:
There are a few locations in the sim code where code that is useful for debugging is commented out. PhET prefers to use a pattern where the code is still live, but is deactivated through the use of a constant. This prevents the code from being accidentally deleted during code cleanup, and makes the code more likely to be at least partially maintained as the other code in the file evolves.
For an example of how to apply this technique, please see beers-law-lab/js/concentration/view/DropperNode.js, and search on the string "DEBUG_ORIGIN".
Locations where this was seen as of this writing (this is probably not an exhaustive list):
ParticleWebGLNode.js line 267-272
ParticleWebGLNode.js line 141
The text was updated successfully, but these errors were encountered: