Permalink
Browse files

BF: outputs to psychojs no longer need image.units line

and this caused a bug if units were "from exp settings"
  • Loading branch information...
peircej committed Mar 15, 2017
1 parent 40db7b9 commit 8c32d1c9a753c07a00e7fb7d18b874f71f09379a
Showing with 0 additions and 2 deletions.
  1. +0 −2 psychopy/app/builder/components/image/__init__.py
@@ -163,5 +163,3 @@ def writeInitCodeJS(self, buff):
"});\n" % (depth)
)
buff.writeIndentedLines(code)
buff.writeIndentedLines(
"{inits[name]}.units = {inits[units]};".format(inits=inits))

0 comments on commit 8c32d1c

Please sign in to comment.