|
204 | 204 | stimulus: 'Get ready...', |
205 | 205 | }, |
206 | 206 | { |
207 | | - type: (resp_mode == 'button' ? jsPsychImageButtonResponse : jsPsychImageKeyboardResponse), |
208 | | - choices: (resp_mode == 'button' ? ['Same','Different'] : "NO_KEYS"), |
209 | | - button_html: '<button class="jspsych-btn dimtext">%choice%</button>', |
| 207 | + //type: (resp_mode == 'button' ? jsPsychImageButtonResponse : jsPsychImageKeyboardResponse), |
| 208 | + //choices: (resp_mode == 'button' ? ['Same','Different'] : "NO_KEYS"), |
| 209 | + //button_html: '<button class="jspsych-btn dimtext">%choice%</button>', |
| 210 | + type: jsPsychImageKeyboardResponse, |
| 211 | + choices: "NO_KEYS", |
210 | 212 | trial_duration: 2000, |
211 | 213 | response_ends_trial: false, |
212 | 214 | stimulus: jsPsych.timelineVariable('img1') |
|
249 | 251 | stimulus: 'Get ready...', |
250 | 252 | }, |
251 | 253 | { |
252 | | - type: (resp_mode == 'button' ? jsPsychImageButtonResponse : jsPsychImageKeyboardResponse), |
253 | | - choices: (resp_mode == 'button' ? ['Same','Different'] : "NO_KEYS"), |
254 | | - button_html: '<button class="jspsych-btn dimtext">%choice%</button>', |
| 254 | + //type: (resp_mode == 'button' ? jsPsychImageButtonResponse : jsPsychImageKeyboardResponse), |
| 255 | + //choices: (resp_mode == 'button' ? ['Same','Different'] : "NO_KEYS"), |
| 256 | + //button_html: '<button class="jspsych-btn dimtext">%choice%</button>', |
| 257 | + type: jsPsychImageKeyboardResponse, |
| 258 | + choices: "NO_KEYS", |
255 | 259 | trial_duration: 2000, |
256 | 260 | response_ends_trial: false, |
257 | 261 | stimulus: jsPsych.timelineVariable('img1') |
|
296 | 300 | stimulus: 'Get ready...', |
297 | 301 | }, |
298 | 302 | { |
299 | | - type: (resp_mode == 'button' ? jsPsychImageButtonResponse : jsPsychImageKeyboardResponse), |
300 | | - choices: (resp_mode == 'button' ? ['Same','Different'] : "NO_KEYS"), |
301 | | - button_html: '<button class="jspsych-btn dimtext">%choice%</button>', |
| 303 | + //type: (resp_mode == 'button' ? jsPsychImageButtonResponse : jsPsychImageKeyboardResponse), |
| 304 | + //choices: (resp_mode == 'button' ? ['Same','Different'] : "NO_KEYS"), |
| 305 | + //button_html: '<button class="jspsych-btn dimtext">%choice%</button>', |
| 306 | + type: jsPsychImageKeyboardResponse, |
| 307 | + choices: "NO_KEYS", |
302 | 308 | trial_duration: 2000, |
303 | 309 | response_ends_trial: false, |
304 | 310 | stimulus: jsPsych.timelineVariable('img1') |
|
363 | 369 | { img1: 'img/pcon023a.jpg', img2: 'img/pcon023b.jpg', cresp: 'd'}, |
364 | 370 | { img1: 'img/pcon024a.jpg', img2: 'img/pcon024b.jpg', cresp: 'd'}, |
365 | 371 | { img1: 'img/pcon025a.jpg', img2: 'img/pcon025b.jpg', cresp: 'd'}, |
366 | | - { img1: 'img/pcon026a.jpg', img2: 'img/pcon026b.jpg', cresp: 'd'}, |
| 372 | + //{ img1: 'img/pcon026a.jpg', img2: 'img/pcon026b.jpg', cresp: 'd'}, |
367 | 373 | { img1: 'img/pcon027a.jpg', img2: 'img/pcon027a.jpg', cresp: 's'}, |
368 | | - { img1: 'img/pcon028a.jpg', img2: 'img/pcon028a.jpg', cresp: 's'}, |
| 374 | + //{ img1: 'img/pcon028a.jpg', img2: 'img/pcon028a.jpg', cresp: 's'}, |
369 | 375 | ], |
370 | 376 | randomize_order: randomize |
371 | 377 | } |
|
0 commit comments