From 7653785ae6ffa96760e03c55cd10e13b856894fd Mon Sep 17 00:00:00 2001 From: Neil Fraser Date: Sat, 21 Sep 2019 08:40:56 -0700 Subject: [PATCH] Add missing require for utils.colour MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pushed without review since it’s activily breaking users (bug report filed from Blockly Games). --- core/block.js | 1 + core/blockly.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/core/block.js b/core/block.js index ab1b25089..3d3af48e0 100644 --- a/core/block.js +++ b/core/block.js @@ -37,6 +37,7 @@ goog.require('Blockly.Extensions'); goog.require('Blockly.Input'); goog.require('Blockly.utils'); goog.require('Blockly.utils.Coordinate'); +goog.require('Blockly.utils.colour'); goog.require('Blockly.utils.object'); goog.require('Blockly.fieldRegistry'); goog.require('Blockly.utils.string'); diff --git a/core/blockly.js b/core/blockly.js index 17587d0d9..15adebfc0 100644 --- a/core/blockly.js +++ b/core/blockly.js @@ -43,12 +43,13 @@ goog.require('Blockly.WorkspaceSvg'); goog.require('Blockly.constants'); goog.require('Blockly.inject'); goog.require('Blockly.utils'); +goog.require('Blockly.utils.colour'); goog.require('Blockly.Xml'); /** * Blockly core version. - * This constant is overriden by the build script (build.py) to the value of the version + * This constant is overridden by the build script (build.py) to the value of the version * in package.json. This is done during the gen_core build step. * For local builds, you can pass --define='Blockly.VERSION=X.Y.Z' to the compiler * to override this constant.