--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly/3056dfa8-012b-47bf-872f-5d371d78d0b4%40googlegroups.com.
Blockly.JavaScript.variableDB_ doesn't appear until after JavaScript has been generated. I don't think there has been any change in this in years. Does this help?
On Tue, 10 Sep 2019 at 00:43, Julian <julian...@gmail.com> wrote:
Ah and to be clear. Blockly.JavaScript is defined but not Blockly.JavaScript.variableDB_ anymore.--
On Tuesday, September 10, 2019 at 9:21:20 AM UTC+2, Julian wrote:Hey guys,my app is crashing since yesterday. There was no blockly-version update or something like that. But suddenly this error appears in my customblocks for variable-blocks.Error: Cannot read property 'getName' of undefinedLine: var variable_vartitle = Blockly.JavaScript.variableDB_.getName(block.getFieldValue("varTitle"),Blockly.Variables.NAME_TYPE);This means Blockly.JavaScript.variableDB_ ist not defined anymore. Does anybody had this kind of problems before?Thank you.
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly/3056dfa8-012b-47bf-872f-5d371d78d0b4%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly/6d4d2298-3cfb-489f-ac6b-e7250764a85f%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly/6d4d2298-3cfb-489f-ac6b-e7250764a85f%40googlegroups.com.