restores text parameter in enforceArray

This commit is contained in:
Josh de Leeuw 2015-05-29 08:16:41 -04:00
parent c575d03bdf
commit 71f451f4bb

View File

@ -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++) {