We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e3057fc + 8f49844 commit e181918Copy full SHA for e181918
1 file changed
codelabs/custom_generator/custom_generator.md
@@ -203,7 +203,7 @@ A custom language generator is simply an instance of `Blockly.Generator`. Create
203
```js
204
import * as Blockly from 'blockly';
205
206
-export const jsonGenerator = new Blockly.Generator('JSON');
+export const jsonGenerator = new Blockly.CodeGenerator('JSON');
207
```
208
209
### Generate code
0 commit comments