mirror of
https://github.com/google/blockly.git
synced 2026-01-07 09:00:11 +01:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user