From fb170b9052f4fea91b76cf97332d6e94db707747 Mon Sep 17 00:00:00 2001 From: Neil Fraser Date: Fri, 11 Jun 2021 11:17:18 -0700 Subject: [PATCH] Remove extra space in generator error message. --- core/generator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/generator.js b/core/generator.js index 781cd7263..d2af08852 100644 --- a/core/generator.js +++ b/core/generator.js @@ -195,7 +195,7 @@ Blockly.Generator.prototype.blockToCode = function(block, opt_thisOnly) { var func = this[block.type]; if (typeof func != 'function') { throw Error('Language "' + this.name_ + '" does not know how to generate ' + - ' code for block type "' + block.type + '".'); + 'code for block type "' + block.type + '".'); } // First argument to func.call is the value of 'this' in the generator. // Prior to 24 September 2013 'this' was the only way to access the block.