@jspsych/new-plugin
Version:
CLI tool to create new jsPsych plugins
22 lines (17 loc) • 372 B
HTML
<html>
<head>
<title>{globalName} Example</title>
<script src="https://unpkg.com/jspsych"></script>
{publishingComment}
<link rel="stylesheet" href="https://unpkg.com/jspsych/css/jspsych.css">
</head>
<body></body>
<script>
const jsPsych = initJsPsych();
const trial = {
type: {globalName}
};
jsPsych.run([trial])
</script>
</html>