mirror of
https://github.com/google/blockly.git
synced 2026-01-07 00:50:27 +01:00
fix: convert the Workspace class to an ES6 class (#5977)
* fix: run conversion script on workspace * fix: cleanup from conversion script * fix: make debug build happy * fix: tests * fix: format * fix: format
This commit is contained in:
@@ -307,7 +307,8 @@ exports.svgResize = common.svgResize;
|
||||
* @alias Blockly.hideChaff
|
||||
*/
|
||||
const hideChaff = function(opt_onlyClosePopups) {
|
||||
common.getMainWorkspace().hideChaff(opt_onlyClosePopups);
|
||||
/** @type {!WorkspaceSvg} */ (common.getMainWorkspace())
|
||||
.hideChaff(opt_onlyClosePopups);
|
||||
};
|
||||
exports.hideChaff = hideChaff;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user