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:
Beka Westberg
2022-03-16 13:22:03 -07:00
committed by GitHub
parent a65b895002
commit e2eaebec47
16 changed files with 811 additions and 779 deletions

View File

@@ -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;