Migrate core/theme/zelos.js named requires

This commit is contained in:
kozbial
2021-08-17 12:47:38 -07:00
committed by Monica Kozbial
parent 221f0b9c42
commit 6efd457294

View File

@@ -12,7 +12,7 @@
goog.module('Blockly.Themes.Zelos');
goog.module.declareLegacyNamespace();
goog.require('Blockly.Theme');
const Theme = goog.require('Blockly.Theme');
// Temporary holding object.
@@ -103,7 +103,7 @@ Zelos.categoryStyles = {
};
Zelos =
new Blockly.Theme('zelos', Zelos.defaultBlockStyles,
new Theme('zelos', Zelos.defaultBlockStyles,
Zelos.categoryStyles);
exports = Zelos;