mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-12 08:38:11 +00:00
removing jquery from two examples
This commit is contained in:
parent
d901078801
commit
6d85cba679
@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
var check_consent = function(elem) {
|
var check_consent = function(elem) {
|
||||||
if ($('#consent_checkbox').is(':checked')) {
|
if (document.getElementById('consent_checkbox').checked) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
alert("If you wish to participate, you must check the box next to the statement 'I agree to participate in this study.'");
|
alert("If you wish to participate, you must check the box next to the statement 'I agree to participate in this study.'");
|
||||||
|
@ -47,7 +47,6 @@
|
|||||||
|
|
||||||
jsPsych.pluginAPI.preloadAudioFiles(['sound/sound.mp3','sound/hammer.mp3'], function() {
|
jsPsych.pluginAPI.preloadAudioFiles(['sound/sound.mp3','sound/hammer.mp3'], function() {
|
||||||
jsPsych.init({
|
jsPsych.init({
|
||||||
display_element: $('#jspsych-target'),
|
|
||||||
timeline: [node],
|
timeline: [node],
|
||||||
on_finish: function() {
|
on_finish: function() {
|
||||||
jsPsych.data.displayData();
|
jsPsych.data.displayData();
|
||||||
|
Loading…
Reference in New Issue
Block a user