phetsims / arithmetic

"Arithmetic" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/arithmetic
GNU General Public License v3.0
5 stars 5 forks source link

disable autoAnswer #182

Closed pixelzoom closed 6 years ago

pixelzoom commented 6 years ago

See https://github.com/phetsims/joist/issues/406.

Add this to ArithmeticQueryParameters:

if ( phet.chipper.isProduction && !phet.chipper.isDebugBuild ) {
  ArithmeticQueryParameters.autoAnswer = false;
}
jbphet commented 6 years ago

I added the suggested code and removed the previous code that prevented the feature from being available in production builds based on the version ID. Closing.