mirror of
https://github.com/google/blockly.git
synced 2026-01-04 15:40:08 +01:00
fix(renamings): Small correction to renaming of Blockly.utils.global (#6599)
It doesn't make any difference in practice to the behaviour of the renamings script, but this entry in renamings.json5 was slightly mis-specified, and only works properly because this former module had only a singe export. Also remove some unnecessary quoting of keywords.
This commit is contained in:
committed by
GitHub
parent
9292983571
commit
2257b1da19
@@ -1339,8 +1339,13 @@
|
||||
|
||||
'9.0.0': [
|
||||
{
|
||||
'oldName': 'Blockly.utils.global',
|
||||
'newPath': 'globalThis',
|
||||
oldName: 'Blockly.utils.global',
|
||||
exports: {
|
||||
globalThis: {
|
||||
oldPath: 'Blockly.utils.global',
|
||||
newPath: 'globalThis',
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
oldName: 'Blockly.Dart',
|
||||
@@ -1366,7 +1371,7 @@
|
||||
oldName: 'Blockly.Python',
|
||||
newExport: 'pythonGenerator',
|
||||
newPath: 'Blockly.Python',
|
||||
'oldName': 'Blockly.ContextMenuRegistry',
|
||||
oldName: 'Blockly.ContextMenuRegistry',
|
||||
exports: {
|
||||
'ContextMenuRegistry.ScopeType': {
|
||||
oldPath: 'Blockly.ContextMenuRegistry.ScopeType',
|
||||
@@ -1396,7 +1401,7 @@
|
||||
},
|
||||
},
|
||||
{
|
||||
'oldName': 'Blockly.Input',
|
||||
oldName: 'Blockly.Input',
|
||||
exports: {
|
||||
'Input.Align': {
|
||||
oldPath: 'Blockly.Input.Align',
|
||||
@@ -1406,7 +1411,7 @@
|
||||
},
|
||||
},
|
||||
{
|
||||
'oldName': 'Blockly.Names',
|
||||
oldName: 'Blockly.Names',
|
||||
exports: {
|
||||
'Names.NameType': {
|
||||
oldPath: 'Blockly.Names.NameType',
|
||||
|
||||
Reference in New Issue
Block a user