bjoluc

Results 104 comments of bjoluc

Thanks @ChristopheBossens! I added c9326e3 after reading the issue for the first time, but I misread the issue: I thought maybe the original array would be modified by `jsPsych.randomization.shuffle`, but...

> So the question is basically if this is something that should be handled by the framework, or perhaps add a disclaimer that the shuffling algorithm will not create a...

Turns out `jsPsych.utils.deepCopy()` is already available, but not listed in the docs, so closing this issue boils down to add some docs and reference them in the randomazation docs.

Hi @jansim, thanks for the PR. I'm afraid what you suggest can already be done using [i18next](https://www.i18next.com/overview/getting-started#basic-sample) or similar libraries – taking care of all translation needs – so I'm...

Sorry, I seem to have missed that :see_no_evil: > Also, I think we're open to the possibility that another tool would be the better way to handle this. To me,...

> I do believe we could fix this with some wrapper code, though, but that's option 2. then. Right, very valid point. When suggesting (1) above, I thought about adding...

> I'm not sure inheriting the class is the right solution for maintainability. We've never really thought of plugins or extensions as inheriting and modifying other plugins or extensions. My...

@d-bohn The VAS plugin is meant to be included in a script tag and works with global variables, most notably the `jsPsychModule` variable (which is defined when jsPsych is loaded...

@kinleyid That's not directly necessary given the workaround - but it would sure be great!

Hi @franfrutos, this is everything but trivial :smile: The root problem is that jspsych-psychophysics is not available as an ES module. This is the same problem as https://github.com/jspsych/jspsych-contrib/issues/26#issuecomment-1099160930. The reason...