blockly-lua
blockly-lua copied to clipboard
Bug in repeat statement
Hi
I guess a "\n" is missing at end of repeat statement in generators/lua/loops.js:
var code = 'for ' + loopVar + '= 1, ' + repeats + ' do\n' + branch + 'end'; to replace by: var code = 'for ' + loopVar + '= 1, ' + repeats + ' do\n' + branch + 'end\n';
Thx