phetsims / normal-modes

"Normal Modes" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
0 stars 2 forks source link

assertion failure: default value is required for RangeWithValue #15

Closed pixelzoom closed 4 years ago

pixelzoom commented 4 years ago

Related to #2 (code review). With ?ea and after bypassing #14

assert.js?bust=1581129340507:22 Uncaught Error: Assertion failed: default value is required
    at window.assertions.assertFunction (assert.js?bust=1581129340507:22)
    at new RangeWithValue (RangeWithValue.js?bust=1581129340598:26)
    at new AmpPhaseAccordionBox (AmpPhaseAccordionBox.js?bust=1581129340598:142)
    at new OneDimensionScreenView (OneDimensionScreenView.js?bust=1581129340598:87)
    at OneDimensionScreen.createView (OneDimensionScreen.js?bust=1581129340598:36)
    at OneDimensionScreen.initializeView (Screen.js?bust=1581129340598:266)
    at Array.<anonymous> (Sim.js?bust=1581129340598:866)
    at Sim.js?bust=1581129340598:874
pixelzoom commented 4 years ago

This was due to a typo, fixed in the above commit.