Reexport global.globalThis as Blockly.utils.global (#5534)

Fixes #5503

This makes the value of Blockly.utils.global the same as it was
before PR #5451.
This commit is contained in:
Christopher Allen
2021-09-24 18:47:43 +01:00
committed by GitHub
parent 8ab8536739
commit f931b2eb36
3 changed files with 3 additions and 2 deletions

View File

@@ -130,6 +130,7 @@ const renamings = {
},
'Blockly.utils.global': {
export: 'globalThis', // Previous default export now named.
path: 'Blockly.utils.global', // But still exported under original name.
},
'Blockly.utils.IdGenerator': {
module: 'Blockly.utils.idGenerator',