phetsims / natural-selection

"Natural Selection" is an educational simulation in HTML5, by PhET Interactive Simulations
GNU General Public License v3.0
3 stars 7 forks source link

Simplify addLinkedElement where possible #351

Closed pixelzoom closed 1 year ago

pixelzoom commented 1 year ago

Thanks to https://github.com/phetsims/tandem/issues/291, there are many calls to addLinkedElement where the tandemName no longer needs to be specified. For example:

-    this.addLinkedElement( generationClock, {
-      tandemName: 'generationClock'
-    } );
+    this.addLinkedElement( generationClock );

This should result in no API changes.