clarify parameter type #423

This commit is contained in:
Josh de Leeuw 2017-07-06 09:54:05 -04:00
parent 2a39ad4a2a
commit caca99335d
2 changed files with 8 additions and 4 deletions

View File

@ -874,7 +874,11 @@ jsPsych.plugins = {
FLOAT: 3,
FUNCTION: 4,
KEYCODE: 5,
SELECT: 6
SELECT: 6,
HMTL_STRING: 7,
IMAGE: 8,
AUDIO: 9,
VIDEO: 10
}
};

View File

@ -25,19 +25,19 @@ jsPsych.plugins["visual-search-circle"] = (function() {
description: '',
parameters: {
target: {
type: [jsPsych.plugins.parameterType.STRING],
type: [jsPsych.plugins.parameterType.IMAGE],
default: undefined,
no_function: false,
description: ''
},
foil: {
type: [jsPsych.plugins.parameterType.STRING],
type: [jsPsych.plugins.parameterType.IMAGE],
default: undefined,
no_function: false,
description: ''
},
fixation_image: {
type: [jsPsych.plugins.parameterType.STRING],
type: [jsPsych.plugins.parameterType.IMAGE],
default: undefined,
no_function: false,
description: ''