diff --git a/plugins/test.js b/plugins/jspsych-survey-multi-picture.js similarity index 82% rename from plugins/test.js rename to plugins/jspsych-survey-multi-picture.js index 194e4ef2..48654f59 100644 --- a/plugins/test.js +++ b/plugins/jspsych-survey-multi-picture.js @@ -1,5 +1,5 @@ /** - * jspsych-test + * jspsych-survey-multi-picture * a jspsych plugin for multiple choice survey questions * * Shane Martin @@ -9,11 +9,11 @@ */ -jsPsych.plugins['test'] = (function() { +jsPsych.plugins['survey-multi-picture'] = (function() { var plugin = {}; plugin.info = { - name: 'test', + name: 'survey-multi-picture', description: '', parameters: { questions: { @@ -52,7 +52,7 @@ jsPsych.plugins['test'] = (function() { } } plugin.trial = function(display_element, trial) { - var plugin_id_name = "jspsych-test"; + var plugin_id_name = "jspsych-survey-multi-picture"; var plugin_id_selector = '#' + plugin_id_name; var _join = function( /*args*/ ) { var arr = Array.prototype.slice.call(arguments, _join.length); @@ -70,14 +70,14 @@ jsPsych.plugins['test'] = (function() { trial = jsPsych.pluginAPI.evaluateFunctionParameters(trial); // inject CSS for trial - var node = display_element.innerHTML += '