Skip to content

Commit

Permalink
Merge pull request #2489 from mmvarma-pro/master
Browse files Browse the repository at this point in the history
fix(codelabs): Update custom generator codelab to use CodeGenerator
  • Loading branch information
RoboErikG authored Feb 21, 2025
2 parents e3057fc + 8f49844 commit e181918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codelabs/custom_generator/custom_generator.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ A custom language generator is simply an instance of `Blockly.Generator`. Create
```js
import * as Blockly from 'blockly';

export const jsonGenerator = new Blockly.Generator('JSON');
export const jsonGenerator = new Blockly.CodeGenerator('JSON');
```

### Generate code
Expand Down

0 comments on commit e181918

Please sign in to comment.