mirror of
https://github.com/google/blockly.git
synced 2026-01-11 02:47:09 +01:00
Don't monkey-patch Blocky.utils.xml.document (#5461)
Use Blockly.utils.xml.setDocument instead.
This commit is contained in:
committed by
GitHub
parent
f4430e9e47
commit
d202ae0201
@@ -32,7 +32,7 @@ const renamings = {
|
||||
export: 'conditionalBind',
|
||||
},
|
||||
},
|
||||
}
|
||||
},
|
||||
},
|
||||
'6.20210701.0': {
|
||||
'Blockly': {
|
||||
@@ -70,14 +70,21 @@ const renamings = {
|
||||
'Blockly.utils': {
|
||||
exports: {
|
||||
genUid: {module: 'Blockly.utils.idGenerator'},
|
||||
}
|
||||
},
|
||||
},
|
||||
'Blockly.utils.global': {
|
||||
export: 'globalThis', // Previous default export now named.
|
||||
},
|
||||
'Blockly.utils.IdGenerator': {
|
||||
module: 'Blockly.utils.idGenerator',
|
||||
}
|
||||
},
|
||||
'Blockly.utils.xml': {
|
||||
exports: {
|
||||
// document was a function before, too - not a static property
|
||||
// or get accessor.
|
||||
document: {export: 'getDocument'},
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user