mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 19:20:55 +00:00
fixed browser-check typo in doc example
This commit is contained in:
parent
7e62982fb8
commit
c75c80b7e7
@ -123,7 +123,9 @@ import browserCheck from '@jspsych/plugin-browser-check';
|
|||||||
inclusion_function: (data) => {
|
inclusion_function: (data) => {
|
||||||
return ['chrome', 'firefox'].includes(data.browser);
|
return ['chrome', 'firefox'].includes(data.browser);
|
||||||
},
|
},
|
||||||
exclusion_message: `<p>You must use Chrome or Firefox to complete this experiment.</p>`
|
exclusion_message: (data) => {
|
||||||
|
return `<p>You must use Chrome or Firefox to complete this experiment.</p>`
|
||||||
|
},
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user