Commit Graph

12 Commits

Author SHA1 Message Date
Becky Gilbert
2c28278ad5 change direct key comparisons to use jsPsych.pluginAPI.compareKeys to allow for case sensitive or insensitive comparison #396 2021-02-18 12:52:10 -08:00
Becky Gilbert
41bc9d725e switch to only using strings for keyboard keys, change keyboard key parameter types/defaults, remove compareKeys fn #396 2021-02-02 15:01:38 -08:00
Becky Gilbert
9ea3c6517a change KEYCODE parameter type to KEY #396 2021-02-02 12:30:15 -08:00
Josh de Leeuw
501a5be52a update all to performance.now() - #492 2018-10-09 16:13:59 -04:00
Hitoshi Tominaga
4919c90ab1
Update jspsych-external-html.js
I found a minor bug on line 69.
Error: if (trial.cont_key) { document.removeEventListener('keydown', key_listener); }
Correct: if (trial.cont_key) { display_element.removeEventListener('keydown', key_listener); }
Because of this, some eventListeners continue working after finishing this plugin.
2018-08-22 19:14:00 +09:00
Josh de Leeuw
b6009b2de9 docs for #532 2018-06-25 21:37:32 -04:00
Dominik Strohmeier
5698002b3e Fix #532 to allow script on external-html pages to be executed optionally in a external-html plugin trial
Issue #532 addresses the issue that scripts included in the remote page will not be executed via the XMLHttpRequest() in the external-html script.

We will need to relocate the content of all scripts by relocating the content through DOM manipulation. The execution is optional and can be controlled through the new execute_Script parameter.
2018-05-30 10:08:58 +02:00
KristinDiep
41db219c89 pretty name and description, no_function taken out 2017-07-13 19:17:27 -04:00
KristinDiep
c3d616283f added demos 2017-07-12 14:29:47 -04:00
KristinDiep
f21ad81d1e removed param block under plugin.trial 2017-07-12 14:29:47 -04:00
Josh de Leeuw
a1567ceba7 remove array brackets from plugin types 2017-07-09 21:15:22 -04:00
Josh de Leeuw
94547dd5ba rename html -> external-html 2017-07-06 14:54:21 -04:00