check and comment this command
Opened this issue · 1 comments
jhamfler commented
a function is called and then the parameter is assigned to the return value
it looks like that this doesnt make sense
https://github.com/hftl-ims-research/wonder/blob/wondergui/src/libs/Participant.js#L609
sdruesedow commented
looks like "getResources(..)" returns an array of resources, which is just a reference/pointer to this array. Then the first element of this returned array is changed.
Not very nice style, but should work IMO. Perhaps better to introduce an intermediate variable.