From 33528059842b3b402cdfb5174e09e5110d92b654 Mon Sep 17 00:00:00 2001 From: Xiaolu Bai Date: Mon, 16 Jan 2017 18:29:47 -0800 Subject: [PATCH] change name from test -> multi picture --- ...est.js => jspsych-survey-multi-picture.js} | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) rename plugins/{test.js => jspsych-survey-multi-picture.js} (82%) 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 += '