mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-11 16:18:11 +00:00
restores text parameter in enforceArray
This commit is contained in:
parent
c575d03bdf
commit
71f451f4bb
@ -16,7 +16,7 @@
|
||||
|
||||
plugin.create = function(params) {
|
||||
|
||||
params = jsPsych.pluginAPI.enforceArray(params, ['cont_key']);
|
||||
params = jsPsych.pluginAPI.enforceArray(params, ['text','cont_key']);
|
||||
|
||||
var trials = new Array(params.text.length);
|
||||
for (var i = 0; i < trials.length; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user