Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
willdemelo authored Nov 8, 2024
1 parent 1840f8e commit 5d3e75c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@
}
});

var timeline = [];

const subject_id = jsPsych.randomization.randomID(10);
const filename = `${subject_id}.csv`;

var timeline = [];



// Welcome message
var welcome = {
Expand Down Expand Up @@ -270,7 +272,7 @@
experiment_id: "g4EDTsGKfpJp",
filename: filename,
data_string: ()=>jsPsych.data.get().csv()
}
};

// Add trials to the timeline
timeline.push(welcome);
Expand Down

0 comments on commit 5d3e75c

Please sign in to comment.