Files
blockly/demos/blockfactory
Christopher Allen 5579098e35 fix(demos): Update BlockFactory generator stub generator (#7211)
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.
2023-06-27 14:36:15 +01:00
..
2021-05-19 09:57:14 -07:00
2016-11-05 00:15:39 -07:00