Typo fix in timeline.md (#3245)

(rebased-with-history from commit 02631c7e5b)
This commit is contained in:
brchristian 2024-04-30 14:11:09 -07:00 committed by bjoluc
commit c58bb2c07b

View File

@ -55,7 +55,7 @@ timeline.push(trial_3);
## Nested timelines ## Nested timelines
Each object on the timeline can also have it's own timeline. This is useful for many reasons. One is that it allows you to define common parameters across trials once and have them apply to all the trials on the nested timeline. The example below creates a series of trials using the [image-keyboard-response plugin](../plugins/image-keyboard-response/), where the only thing that changes from trial-to-trial is the image file being displayed on the screen. Each object on the timeline can also have its own timeline. This is useful for many reasons. One is that it allows you to define common parameters across trials once and have them apply to all the trials on the nested timeline. The example below creates a series of trials using the [image-keyboard-response plugin](../plugins/image-keyboard-response/), where the only thing that changes from trial-to-trial is the image file being displayed on the screen.
```javascript ```javascript
const judgment_trials = { const judgment_trials = {
@ -504,4 +504,4 @@ const face_name_procedure = {
} }
``` ```
These functions will execute only once if the timeline loops. These functions will execute only once if the timeline loops.