What steps will reproduce the problem?
1. Go to https://blockly-demo.appspot.com/static/apps/blockfactory/index.html
2. From the input menu add a statement input block
3. Observe code in the Generator stub text area.
What is the expected output? What do you see instead?
Expected:
var statements_name = Blockly.JavaScript.statementToCode(block, 'NAME');
Actual:
var statements_name = Blockly.' + language + '.statementToCode(block, 'NAME');
What browser are you using?
Chrome 32.0.1700.77
Please provide any additional information below.
It seems there is a quoting issue on this line.
https://code.google.com/p/blockly/source/browse/trunk/apps/blockfactory/factory.
js#351
The line should read:
" = Blockly." + language + ".statementToCode(block, '" +
Original issue reported on code.google.com by Techplex.Engineer on 11 May 2014 at 2:38
Original issue reported on code.google.com by
Techplex.Engineer
on 11 May 2014 at 2:38