phetsims / neuron

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

parseInt missing radix argument #128

Closed pixelzoom closed 8 years ago

pixelzoom commented 8 years ago

neuron-main.js contains 1 call to parseInt with no radix argument.

Documentation for parseInt says:

Different implementations produce different results when a radix is not specified, usually defaulting the value to 10.

pixelzoom commented 8 years ago

Fixed. Assigned to @jbphet to review.

jbphet commented 8 years ago

Looks good to me. Thanks. Closing.