mirror of
https://github.com/google/blockly.git
synced 2025-12-16 06:10:12 +01:00
Update the BlockFactory block generator function stub generator to apply recent changes in generator function best practices: - Use languageGenarator instead of Blockly.Language. - Put generator functions in .forBlock dictionary. - Accept (and use) a second argument that is the calling CodeGenerator object. - User Order.ATOMIC enum instead of ORDER_ATOMIC. Also: - Prefix (e.g.) javascriptGenerator and Order with "javascript.". - Use template literals where useful. - DRY up all the non-special field stub code generation.