mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
fix .contains -> .includes
This commit is contained in:
parent
0d9cfce749
commit
90130d7f6a
@ -15,7 +15,7 @@
|
||||
const trial = {
|
||||
type: jsPsychBrowserCheck,
|
||||
inclusion_function: (data) => {
|
||||
return ['chrome', 'firefox'].contains(data.browser);
|
||||
return ['chrome', 'firefox'].includes(data.browser);
|
||||
},
|
||||
exclusion_message: `<p>You must use Chrome or Firefox to complete this experiment.</p>`
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user