Is build-in python generator not complete?
Get blockly code Create-package script way from here: …Make changes here: …But for some blocks an error appears…
Then, after i refresh page, code generator stops working and each further refresh brings me back to the blocks config that caused error. When i roll back index.js changes and refresh page - blockly start to work again. What am i doing wrong?
import {forBlock} from './generators/javascript';// ...Object.assign(pythonGenerator.forBlock, forBlock);
const code = pythonGenerator.workspaceToCode(ws);// ...eval(code);
--
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/b784360d-accd-4557-9b2f-a51aec2ef73en%40googlegroups.com.