Skip to content

Commit 4533e3d

Browse files
committed
Fix webgazer CDN URLs
1 parent c8213c8 commit 4533e3d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/overview/eye-tracking.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ The [official version of WebGazer](https://webgazer.cs.brown.edu/#download) is c
1010

1111
You must include the `webgazer.js` file in your experiment via a `<script>` tag.
1212
However, the `webgazer.js` file is not part of any of the jsPsych NPM packages and is therefore not available via the unpkg.com CDN.
13-
Instead, it can be found on the jsdelivr.net CDN at: "https://cdn.jsdelivr.net/gh/jspsych/jspsych@jspsych@7.1.2/examples/js/webgazer/webgazer.js".
13+
Instead, it can be found on the jsdelivr.net CDN at: "https://cdn.jsdelivr.net/gh/jspsych/jspsych@jspsych@7.0.0/examples/js/webgazer/webgazer.js".
1414

1515
```html
1616
<head>
1717
<script src="https://unpkg.com/[email protected]"></script>
18-
<script src="https://cdn.jsdelivr.net/gh/jspsych/jspsych@7.1.2/examples/js/webgazer/webgazer.js"></script>
18+
<script src="https://cdn.jsdelivr.net/gh/jspsych/jspsych@[email protected]/examples/js/webgazer/webgazer.js"></script>
1919
</head>
2020
```
2121

@@ -34,7 +34,7 @@ The [webgazer extension](../extensions/webgazer.md) adds functionality to jsPsyc
3434
```html
3535
<head>
3636
<script src="https://unpkg.com/[email protected]"></script>
37-
<script src="https://cdn.jsdelivr.net/gh/jspsych/jspsych@7.1.2/examples/js/webgazer/webgazer.js"></script>
37+
<script src="https://cdn.jsdelivr.net/gh/jspsych/jspsych@[email protected]/examples/js/webgazer/webgazer.js"></script>
3838
<script src="https://unpkg.com/@jspsych/[email protected]"></script>
3939
</head>
4040
```
@@ -175,7 +175,7 @@ If you have tips based on your own experience please consider sharing them on ou
175175
<script src="https://unpkg.com/@jspsych/[email protected]"></script>
176176
<script src="https://unpkg.com/@jspsych/[email protected]"></script>
177177
<script src="https://unpkg.com/@jspsych/[email protected]"></script>
178-
<script src="https://cdn.jsdelivr.net/gh/jspsych/jsPsych@jspsych@7.1.2/examples/js/webgazer/webgazer.js"></script>
178+
<script src="https://cdn.jsdelivr.net/gh/jspsych/jspsych@jspsych@7.0.0/examples/js/webgazer/webgazer.js"></script>
179179
<script src="https://unpkg.com/@jspsych/[email protected]"></script>
180180
<link
181181
rel="stylesheet"

0 commit comments

Comments
 (0)