UNPKG

@jspsych/new-plugin

Version:

CLI tool to create new jsPsych plugins

22 lines (18 loc) 453 B
<!DOCTYPE html> <html> <head> <title>{globalName} Example</title> <script src="https://unpkg.com/jspsych"></script> {publishingComment} <script src="../dist/index.global.js"></script> <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>