Merge pull request #1880 from nikbpetrov/same-different-default-values-fix

Fixes stim duration default values in same-different plugins #1879
This commit is contained in:
Becky Gilbert 2021-06-10 14:44:22 -07:00 committed by GitHub
commit 1436132d6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@ jsPsych.plugins['same-different-html'] = (function() {
first_stim_duration: { first_stim_duration: {
type: jsPsych.plugins.parameterType.INT, type: jsPsych.plugins.parameterType.INT,
pretty_name: 'First stimulus duration', pretty_name: 'First stimulus duration',
default: null, default: 1000,
description: 'How long to show the first stimulus for in milliseconds. If null, then the stimulus will remain on the screen until any keypress is made.' description: 'How long to show the first stimulus for in milliseconds. If null, then the stimulus will remain on the screen until any keypress is made.'
}, },
gap_duration: { gap_duration: {
@ -57,7 +57,7 @@ jsPsych.plugins['same-different-html'] = (function() {
second_stim_duration: { second_stim_duration: {
type: jsPsych.plugins.parameterType.INT, type: jsPsych.plugins.parameterType.INT,
pretty_name: 'Second stimulus duration', pretty_name: 'Second stimulus duration',
default: null, default: 1000,
description: 'How long to show the second stimulus for in milliseconds. If null, then the stimulus will remain on the screen until a valid response is made.' description: 'How long to show the second stimulus for in milliseconds. If null, then the stimulus will remain on the screen until a valid response is made.'
}, },
prompt: { prompt: {

View File

@ -47,7 +47,7 @@ jsPsych.plugins['same-different-image'] = (function() {
first_stim_duration: { first_stim_duration: {
type: jsPsych.plugins.parameterType.INT, type: jsPsych.plugins.parameterType.INT,
pretty_name: 'First stimulus duration', pretty_name: 'First stimulus duration',
default: null, default: 1000,
description: 'How long to show the first stimulus for in milliseconds. If null, then the stimulus will remain on the screen until any keypress is made.' description: 'How long to show the first stimulus for in milliseconds. If null, then the stimulus will remain on the screen until any keypress is made.'
}, },
gap_duration: { gap_duration: {
@ -59,7 +59,7 @@ jsPsych.plugins['same-different-image'] = (function() {
second_stim_duration: { second_stim_duration: {
type: jsPsych.plugins.parameterType.INT, type: jsPsych.plugins.parameterType.INT,
pretty_name: 'Second stimulus duration', pretty_name: 'Second stimulus duration',
default: null, default: 1000,
description: 'How long to show the second stimulus for in milliseconds. If null, then the stimulus will remain on the screen until a valid response is made.' description: 'How long to show the second stimulus for in milliseconds. If null, then the stimulus will remain on the screen until a valid response is made.'
}, },
prompt: { prompt: {