update version

This commit is contained in:
Josh de Leeuw 2018-04-17 21:47:25 -04:00
parent fea3015fbd
commit 1035b0f503

View File

@ -12,7 +12,7 @@ Start by downloading the jsPsych library. The most recent version can always be
## Step 2: Create a folder to store your experiment files
Create a folder on your computer to put the experiment files in. Once you've created the folder, open the downloaded archive from step 1, and move the extracted folder (called `jspsych-6.0.1.1` if using v6.0.1 of jsPsych) into the experiment folder. Here's what it looks like on a Windows machine:
Create a folder on your computer to put the experiment files in. Once you've created the folder, open the downloaded archive from step 1, and move the extracted folder (called `jspsych-6.0.2` if using v6.0.2 of jsPsych) into the experiment folder. Here's what it looks like on a Windows machine:
![folder setup](/img/folder-setup.png)
@ -53,7 +53,7 @@ To use jsPsych, add a `<script>` tag to import the library.
<html>
<head>
<title>My experiment</title>
<script src="jspsych-6.0.1/jspsych.js"></script>
<script src="jspsych-6.0.2/jspsych.js"></script>
</head>
<body></body>
</html>
@ -66,8 +66,8 @@ You may also want to import the jsPsych stylesheet, which applies a basic set of
<html>
<head>
<title>My experiment</title>
<script src="jspsych-6.0.1/jspsych.js"></script>
<link href="jspsych-6.0.1/css/jspsych.css" rel="stylesheet" type="text/css"></link>
<script src="jspsych-6.0.2/jspsych.js"></script>
<link href="jspsych-6.0.2/css/jspsych.css" rel="stylesheet" type="text/css"></link>
</head>
<body></body>
</html>
@ -82,9 +82,9 @@ For the demo, we want to show some text on the screen. This is exactly what the
<html>
<head>
<title>My experiment</title>
<script src="jspsych-6.0.1/jspsych.js"></script>
<script src="jspsych-6.0.1/plugins/jspsych-html-keyboard-response.js"></script>
<link href="jspsych-6.0.1/css/jspsych.css" rel="stylesheet" type="text/css"></link>
<script src="jspsych-6.0.2/jspsych.js"></script>
<script src="jspsych-6.0.2/plugins/jspsych-html-keyboard-response.js"></script>
<link href="jspsych-6.0.2/css/jspsych.css" rel="stylesheet" type="text/css"></link>
</head>
<body></body>
</html>
@ -99,9 +99,9 @@ To add JavaScript code directly to the webpage we need to add a set of `<script>
<html>
<head>
<title>My experiment</title>
<script src="jspsych-6.0.1/jspsych.js"></script>
<script src="jspsych-6.0.1/plugins/jspsych-html-keyboard-response.js"></script>
<link href="jspsych-6.0.1/css/jspsych.css" rel="stylesheet" type="text/css"></link>
<script src="jspsych-6.0.2/jspsych.js"></script>
<script src="jspsych-6.0.2/plugins/jspsych-html-keyboard-response.js"></script>
<link href="jspsych-6.0.2/css/jspsych.css" rel="stylesheet" type="text/css"></link>
</head>
<body></body>
<script>
@ -122,9 +122,9 @@ Now that we have the trial defined we just need to tell jsPsych to run an experi
<html>
<head>
<title>My experiment</title>
<script src="jspsych-6.0.1/jspsych.js"></script>
<script src="jspsych-6.0.1/plugins/jspsych-html-keyboard-response.js"></script>
<link href="jspsych-6.0.1/css/jspsych.css" rel="stylesheet" type="text/css"></link>
<script src="jspsych-6.0.2/jspsych.js"></script>
<script src="jspsych-6.0.2/plugins/jspsych-html-keyboard-response.js"></script>
<link href="jspsych-6.0.2/css/jspsych.css" rel="stylesheet" type="text/css"></link>
</head>
<body></body>
<script>