mirror of
https://github.com/google/blockly.git
synced 2026-01-07 17:10:11 +01:00
Fix circular dependencies in shortcut + contextmenu registries (#4681)
* Fix circular dependencies in shortcut and contextmenu registries
This commit is contained in:
@@ -18,6 +18,7 @@ goog.provide('Blockly.ContextMenuItems');
|
||||
|
||||
/** @suppress {extraRequire} */
|
||||
goog.require('Blockly.constants');
|
||||
goog.require('Blockly.ContextMenuRegistry');
|
||||
goog.require('Blockly.Events');
|
||||
goog.require('Blockly.inputTypes');
|
||||
|
||||
@@ -538,3 +539,4 @@ Blockly.ContextMenuItems.registerDefaultOptions = function() {
|
||||
Blockly.ContextMenuItems.registerBlockOptions_();
|
||||
};
|
||||
|
||||
Blockly.ContextMenuItems.registerDefaultOptions();
|
||||
|
||||
Reference in New Issue
Block a user