phetsims / greenhouse-effect

"Greenhouse Effect" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
4 stars 4 forks source link

console.log in LayerModelModelAlerter #377

Closed pixelzoom closed 6 months ago

pixelzoom commented 6 months ago

LayerModelModelAlerter has a console.log:

    model.atmosphereLayers[ 0 ].atEquilibriumProperty.link( atEquilibrium => {
      console.log( `layer 1 atEquilibrium = ${atEquilibrium}` );
    } );

If you want to keep this code, it would be more appropriate to use phet.log && phet.log( '...' );

jbphet commented 6 months ago

This was some debug code that I was using to improve the behavior of the equilibrium state, but I'm happy to get rid of it if it's troubling people. It's gone. Closing.