fix: Rename Generator to CodeGenerator (#6585)

Stops collisions with ES6's Generator.
The old Blockly.Generator still exists as a name, but is now deprecated.
This commit is contained in:
Neil Fraser
2022-10-28 01:59:00 +02:00
committed by GitHub
parent 2311a94b03
commit e90aba9273
46 changed files with 155 additions and 158 deletions

View File

@@ -27,7 +27,7 @@ suite('Generator', function() {
suite('prefix', function() {
setup(function() {
this.generator = new Blockly.Generator('INTERCAL');
this.generator = new Blockly.CodeGenerator('INTERCAL');
});
test('Nothing', function() {