Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #15 from brown-ccv/develop
Browse files Browse the repository at this point in the history
feat: modify showmessage
  • Loading branch information
Rashi1997 authored Feb 7, 2021
2 parents 5ec77ad + b088e8e commit 05771a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trials/showMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ module.exports =

return {
type: responseType,
stimulus: (!onstart)?stimulus:null,
stimulus: (!onstart)?stimulus:'',
trial_duration: duration,
response_ends_trial: responseEndsTrial,
choices: buttons,
on_start: (trial) => {
trial.stimulus = (onstart)?stimulus:null;
trial.stimulus = (onstart)?stimulus:'';
},
on_load: () => (taskCode!=null)?pdSpotEncode(taskCode, numBlinks, config):null,
on_finish: (data) => (taskCode!=null)?data.code = taskCode:null
Expand Down

0 comments on commit 05771a6

Please sign in to comment.