From f5909c9916fd3df41bbca8442888e44d1ae10d70 Mon Sep 17 00:00:00 2001 From: Neil Fraser Date: Thu, 3 Oct 2019 14:14:19 -0700 Subject: [PATCH] Restore require variables to blockly.js (#3145) Variables and Xml are circular dependencies. Both need to be declared in blockly.js Maybe they can be sorted out later, but for now things are broken since nobody in core currently requires variables anywhere. --- core/blockly.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/core/blockly.js b/core/blockly.js index fdf2d952d..6b5abf6fa 100644 --- a/core/blockly.js +++ b/core/blockly.js @@ -27,18 +27,19 @@ */ goog.provide('Blockly'); +goog.require('Blockly.constants'); goog.require('Blockly.Events'); goog.require('Blockly.Events.Ui'); +goog.require('Blockly.inject'); goog.require('Blockly.navigation'); goog.require('Blockly.Procedures'); goog.require('Blockly.Tooltip'); goog.require('Blockly.Touch'); -goog.require('Blockly.WidgetDiv'); -goog.require('Blockly.WorkspaceSvg'); -goog.require('Blockly.constants'); -goog.require('Blockly.inject'); goog.require('Blockly.utils'); goog.require('Blockly.utils.colour'); +goog.require('Blockly.Variables'); +goog.require('Blockly.WidgetDiv'); +goog.require('Blockly.WorkspaceSvg'); goog.require('Blockly.Xml');