You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Type Error thrown when trying capture burst of images on certain graphs, reads 'cannot read property 'match' of undefined.
the GraphingCalculator.getExpressions() method from the API returns an array of expressions on the current state of the calculator, though not every object element of the array returned has a property latex, compare 0 & 1 below:
For context
Possible Fix
Add a conditional statement to ensure that the retrieved expression has the latex property, otherwise return 'null'
UPDATE: setSliderByIndex() for valid index should also check expression object is of type expression before trying match
japamat0
changed the title
Throws error on burst image capture for certain graphs
Throws error on burst image capture when user inputs bad expression index
Jun 13, 2019
Description:
Type Error thrown when trying capture burst of images on certain graphs, reads 'cannot read property 'match' of undefined.
the
GraphingCalculator.getExpressions()
method from the API returns an array of expressions on the current state of the calculator, though not every object element of the array returned has a propertylatex
, compare0
&1
below:For context
Possible Fix
Add a conditional statement to ensure that the retrieved expression has the
latex
property, otherwise return 'null'Reproduction Steps:
The text was updated successfully, but these errors were encountered: