jspsych/plugins/jspsych-serial-reaction-time-mouse.js
// function to handle responses by the subject

function to handle responses by the subject
function to handle responses by the subject
function after_response(info) {
      response = response.rt == null ? info : response;
      if (trial.response_ends_trial) {
        endTrial();
      }
    }
function after_response ( info ) { response = response . rt == null ? info : response ; if ( trial . response_ends_trial ) { endTrial ( ) ; } }
function to handle responses by the subject
function to handle responses by the subject
// only record first response
