phetsims / color-vision

"Color Vision" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/color-vision
GNU General Public License v3.0
1 stars 7 forks source link

buggy inheritance #111

Closed pixelzoom closed 7 years ago

pixelzoom commented 7 years ago

SingleBulbPhotonBeam and RGBPhotonBeam both inherit from PropertySet (inherit( PropertySet,...)), but neither of them calls PropertySet's constructor (PropertySet.call).

Looks to me like they should both inherit from Object.