UiL-OTS-labs / jspsych-audlexdec-ap

Auditory Lexical Decision with Auditory Prime (template)
GNU General Public License v2.0
0 stars 0 forks source link

Hard-coded left/right strings for keyboard selection #4

Open miggol opened 2 years ago

miggol commented 2 years ago

getLeftOrRightHanded() must return "Left" or "Right", even though it gets its data from a survey response, which researchers might have translated.

A hacky fix is available here: 0448b587d8724e6c863e3251aa43ae133473ad92

A better solution would probably still involve a translation dict, but would also keep everything in one place near the global declarations to avoid pitfalls. My lack of JS skill got in the way of that for now.

maartenuni commented 2 years ago

Pfff, I'm very much afraid this issue holds for all jspsych lexical decision experiments: https://github.com/UiL-OTS-labs/jspsych-vislexdec-vp/issues/27 We'll have to fix it in all. I don't think this has been fixed in the vislexdec-vp experiment either.