mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 19:20:55 +00:00
Add a parameter for getting a word instead of a function
This commit is contained in:
parent
a34a99dc3b
commit
acfb5c88fa
@ -79,7 +79,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'html-keyboard-response',
|
type: 'html-keyboard-response',
|
||||||
stimulus: function(){ return "<p class='stimulus'>"+jsPsych.timelineVariable('word')+"</p>"; },
|
stimulus: function(){ return "<p class='stimulus'>"+jsPsych.timelineVariable('word', true)+"</p>"; },
|
||||||
choices: ['y','n'],
|
choices: ['y','n'],
|
||||||
post_trial_gap: 500,
|
post_trial_gap: 500,
|
||||||
data: function(){
|
data: function(){
|
||||||
|
Loading…
Reference in New Issue
Block a user