1
0
mirror of https://github.com/psychopy/psychojs.git synced 2025-05-10 18:50:54 +00:00

Missing ; at end of line while setting nRemaining

(also my editor squelches blank space and makes EOLs uniform)
This commit is contained in:
Jon Peirce 2017-04-06 15:36:22 +01:00
parent 65667d241e
commit 14f363ac9a

View File

@ -117,7 +117,7 @@ psychoJS.data.TrialHandler = function(attribs) {
this.trialList = psychoJS.getAttrib(attribs, 'trialList', []);
this.nReps = psychoJS.getAttrib(attribs, 'nReps', []);
this.nTotal = this.nReps * this.trialList.length;
this.nRemaining = this.nTotal // subtract 1 each trial
this.nRemaining = this.nTotal; // subtract 1 each trial
this.method = psychoJS.getAttrib(attribs, 'method', 'random');
this.thisRepN = 0; // records which repetition or pass we are on
this.thisTrialN = -1; // records which trial number within this repetition