mkraska / meclib

JSXGraph-based dynamic and interactive images in Moodle STACK questions without even touching JavaScript
9 stars 3 forks source link

Fix the data() methods of interactive objects #49

Open mkraska opened 6 months ago

mkraska commented 6 months ago

Some of them return the static init list with the state appended. This is not correct. See circle.data() for an example of a correct function. Essentially, the return value of data() has to reflect the current state of the object.