mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-11 16:18:11 +00:00
fix #490
This commit is contained in:
parent
a4a9a97854
commit
583b9a9d1b
@ -5,17 +5,17 @@
|
|||||||
jsPsych.plugins["PLUGIN-NAME"] = (function() {
|
jsPsych.plugins["PLUGIN-NAME"] = (function() {
|
||||||
|
|
||||||
var plugin = {};
|
var plugin = {};
|
||||||
|
|
||||||
plugin.info = {
|
plugin.info = {
|
||||||
name: "PLUGIN-NAME",
|
name: "PLUGIN-NAME",
|
||||||
parameters: {
|
parameters: {
|
||||||
parameter_name: {
|
parameter_name: {
|
||||||
type: jsPsych.plugins.parameterType.INT, // INT, IMAGE, KEYCODE, STRING, FUNCTION, FLOAT
|
type: jsPsych.plugins.parameterType.INT, // BOOL, STRING, INT, FLOAT, FUNCTION, KEYCODE, SELECT, HTML_STRING, IMAGE, AUDIO, VIDEO, OBJECT, COMPLEX
|
||||||
default_value: undefined
|
default: undefined
|
||||||
},
|
},
|
||||||
parameter_name: {
|
parameter_name: {
|
||||||
type: jsPsych.plugins.parameterType.IMAGE,
|
type: jsPsych.plugins.parameterType.IMAGE,
|
||||||
default_value: undefined
|
default: undefined
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user