mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-13 09:08:13 +00:00
adding text example
This commit is contained in:
parent
3ef4cae6b8
commit
2dd4476f35
@ -24,7 +24,7 @@
|
||||
|
||||
var variable_function = function(){ return "This is a variable."; };
|
||||
|
||||
var text_block = [{type:'text', text: [instructions_part_1,instructions_part_2], variables:[[],[variable_function]]}];
|
||||
var text_block = {type:'text', text: [instructions_part_1,instructions_part_2], variables:[[],[variable_function]]};
|
||||
|
||||
jsPsych.init({
|
||||
display_element: $('#jspsych_target'),
|
||||
|
Loading…
Reference in New Issue
Block a user