We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e62982 commit c75c80bCopy full SHA for c75c80b
docs/plugins/browser-check.md
@@ -123,7 +123,9 @@ import browserCheck from '@jspsych/plugin-browser-check';
123
inclusion_function: (data) => {
124
return ['chrome', 'firefox'].includes(data.browser);
125
},
126
- exclusion_message: `<p>You must use Chrome or Firefox to complete this experiment.</p>`
+ exclusion_message: (data) => {
127
+ return `<p>You must use Chrome or Firefox to complete this experiment.</p>`
128
+ },
129
};
130
```
131
0 commit comments