Permalink
Browse files

BF: html outputs incorrect naming of components in endRoutine code

  • Loading branch information...
peircej committed Mar 15, 2017
1 parent 8c32d1c commit e47d90a36cb824dd6dfa46955560e5f9460e4498
Showing with 1 addition and 1 deletion.
  1. +1 −1 psychopy/app/builder/experiment.py
@@ -2156,7 +2156,7 @@ def writeRoutineEndCodeJS(self, buff):
code = ("//------Ending Routine '{name}'-------\n"
"for (var i = 0; i < {name}Components.length; ++i) {{\n"
' thisComponent = trialComponents[i];\n'
' thisComponent = {name}Components[i];\n'
' if ("setAutoDraw" in thisComponent) {{\n'
" thisComponent.setAutoDraw(false);\n"
" }}\n"

0 comments on commit e47d90a

Please sign in to comment.