phetsims / charges-and-fields

"Charges And Fields" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
9 stars 7 forks source link

Document why removal must be guarded, or remove the guard #191

Open samreid opened 3 years ago

samreid commented 3 years ago

In https://github.com/phetsims/axon/issues/332 we removed the guard from createObservableArray removal methods. I added a sim-specific guard in the following commit, but I'm not sure if it should be documented or eliminated. Assigning to responsible dev to take a look:

https://github.com/phetsims/charges-and-fields/commit/42b4c48cadbb505af949be0f3473c36878559f12