mirror of
https://github.com/google/blockly.git
synced 2026-01-04 15:40:08 +01:00
Move browser event utils from utils.js to browser_events.js (#5464)
* fix: move browser event utils to browserEvents * fix: mark browser event utils in utils as deprecated * fix: move uses of browser event funcs to browserEvents * fix: remove browserEvents definition of noEvent * fix: add renames for browser event utils * docs: add suggested alternatives for browser event utils * fix: change deprecations to stubs * fix: PR comments
This commit is contained in:
@@ -117,6 +117,10 @@ const renamings = {
|
||||
'Blockly.utils': {
|
||||
exports: {
|
||||
genUid: {module: 'Blockly.utils.idGenerator'},
|
||||
getScrollDelta: {module: 'Blockly.utils.browserEvents'},
|
||||
isTargetInput: {module: 'Blockly.utils.browserEvents'},
|
||||
isRightButton: {module: 'Blockly.utils.browserEvents'},
|
||||
mouseToSvg: {module: 'Blockly.utils.browserEvents'},
|
||||
},
|
||||
},
|
||||
'Blockly.utils.global': {
|
||||
|
||||
Reference in New Issue
Block a user