Skip to content

Commit

Permalink
fix webgazer links in docs #1562
Browse files Browse the repository at this point in the history
  • Loading branch information
becky-gilbert committed Feb 24, 2021
1 parent 7e8b838 commit e8a326e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/extensions/extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var trial = {

Extension | Description
------ | -----------
[jspsych‑ext‑webgazer.js](/extensions/jspsych-ext-webgazer.md) | Enables eye tracking using the [WebGazer](https://webgazer.cs.brown.edu/) library.
[jspsych‑ext‑webgazer.js](../extensions/jspsych-ext-webgazer.md) | Enables eye tracking using the [WebGazer](https://webgazer.cs.brown.edu/) library.

## Writing an Extension

Expand Down Expand Up @@ -80,4 +80,4 @@ The four events that an extension must support are shown in the sample code.

`extension.on_finish` is called after the plugin completes. This can be used for any teardown at the end of the trial. This method should return an object of data to append to the plugin's data. Note that this event fires *before* the `on_finish` event for the plugin, so data added by the extension is accessible in any trial `on_finish` event handlers. The `params` object is passed from the declaration of the extension in the trial object. You can use `params` to customize the behavior of the extension for each trial.

The extension can also include any additional methods that are necessary for interacting with it. See the [webgazer extension](/extensions/jspsych-ext-webgazer.md) for an example.
The extension can also include any additional methods that are necessary for interacting with it. See the [webgazer extension](../extensions/jspsych-ext-webgazer.md) for an example.
2 changes: 1 addition & 1 deletion docs/extensions/jspsych-ext-webgazer.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# jspsych-ext-webgazer

This extension supports eye tracking through the [WebGazer](https://webgazer.cs.brown.edu/) library. For a narrative description of how to use this extension see the [eye tracking overview](/overview/eye-tracking.md).
This extension supports eye tracking through the [WebGazer](https://webgazer.cs.brown.edu/) library. For a narrative description of how to use this extension see the [eye tracking overview](../overview/eye-tracking.md).

## Parameters

Expand Down

0 comments on commit e8a326e

Please sign in to comment.