Skip to content

Commit

Permalink
Updates to package-lock (example also formatted)
Browse files Browse the repository at this point in the history
  • Loading branch information
Max-Lovell committed Feb 29, 2024
1 parent 8263699 commit f846a22
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
16 changes: 16 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 22 additions & 1 deletion packages/plugin-survey-slider/examples/slider_example.html
Original file line number Diff line number Diff line change
@@ -1 +1,22 @@
<!DOCTYPE html><html> <head> <script src="https://unpkg.com/jspsych"></script> <script src="../dist/index.browser.js"></script> <link href="https://unpkg.com/jspsych/css/jspsych.css" rel="stylesheet" type="text/css"> </head> <body></body> <script> const jsPsych = initJsPsych(); const trial = { type: jsPsychSurveySlider, questions: [ {prompt:'FIRST QUESTION', ticks:['Never','Always']}, {prompt:'SECOND QUESTION', ticks:['Just once','All the time!']}, ] } jsPsych.run([trial]); </script></html>
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/jspsych"></script>
<script src="../dist/index.browser.js"></script>
<link href="https://unpkg.com/jspsych/css/jspsych.css" rel="stylesheet" type="text/css">
</head>
<body></body>
<script>
const jsPsych = initJsPsych();

const trial = {
type: jsPsychSurveySlider,
questions: [
{prompt:'FIRST QUESTION', ticks:['Never','Always']},
{prompt:'SECOND QUESTION', ticks:['Just once','All the time!']},
]
}

jsPsych.run([trial]);
</script>
</html>

0 comments on commit f846a22

Please sign in to comment.