mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
Fix webgazer CDN URLs
This commit is contained in:
parent
c8213c8d1b
commit
4533e3d012
@ -10,12 +10,12 @@ The [official version of WebGazer](https://webgazer.cs.brown.edu/#download) is c
|
||||
|
||||
You must include the `webgazer.js` file in your experiment via a `<script>` tag.
|
||||
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.
|
||||
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".
|
||||
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".
|
||||
|
||||
```html
|
||||
<head>
|
||||
<script src="https://unpkg.com/jspsych@7.3.1"></script>
|
||||
<script src="https://cdn.jsdelivr.net/gh/jspsych/jspsych@7.1.2/examples/js/webgazer/webgazer.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/gh/jspsych/jspsych@jspsych@7.0.0/examples/js/webgazer/webgazer.js"></script>
|
||||
</head>
|
||||
```
|
||||
|
||||
@ -34,7 +34,7 @@ The [webgazer extension](../extensions/webgazer.md) adds functionality to jsPsyc
|
||||
```html
|
||||
<head>
|
||||
<script src="https://unpkg.com/jspsych@7.3.1"></script>
|
||||
<script src="https://cdn.jsdelivr.net/gh/jspsych/jspsych@7.1.2/examples/js/webgazer/webgazer.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/gh/jspsych/jspsych@jspsych@7.0.0/examples/js/webgazer/webgazer.js"></script>
|
||||
<script src="https://unpkg.com/@jspsych/extension-webgazer@1.0.2"></script>
|
||||
</head>
|
||||
```
|
||||
@ -175,7 +175,7 @@ If you have tips based on your own experience please consider sharing them on ou
|
||||
<script src="https://unpkg.com/@jspsych/plugin-webgazer-init-camera@1.0.2"></script>
|
||||
<script src="https://unpkg.com/@jspsych/plugin-webgazer-calibrate@1.0.2"></script>
|
||||
<script src="https://unpkg.com/@jspsych/plugin-webgazer-validate@1.0.2"></script>
|
||||
<script src="https://cdn.jsdelivr.net/gh/jspsych/jsPsych@jspsych@7.1.2/examples/js/webgazer/webgazer.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/gh/jspsych/jspsych@jspsych@7.0.0/examples/js/webgazer/webgazer.js"></script>
|
||||
<script src="https://unpkg.com/@jspsych/extension-webgazer@1.0.2"></script>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
|
Loading…
Reference in New Issue
Block a user