From 97d670c0ea1a1c3af742ad9faf187cf64d2e1c02 Mon Sep 17 00:00:00 2001 From: alschmiedt Date: Fri, 5 Apr 2019 12:00:04 -0700 Subject: [PATCH] Updates documentation --- core/generator.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/generator.js b/core/generator.js index dfe385f7c..6244c06a6 100644 --- a/core/generator.js +++ b/core/generator.js @@ -275,8 +275,8 @@ Blockly.Generator.prototype.valueToCode = function(block, name, outerOrder) { /** * Generate code representing the statement. Indent the code. - * This is mainly used in generators. When trying to generate code to run look - * at using workspaceToCode and blockToCode. + * This is mainly used in generators. When trying to generate code to evaluate + * look at using workspaceToCode and blockToCode. * @param {!Blockly.Block} block The block containing the input. * @param {string} name The name of the input. * @return {string} Generated code or '' if no blocks are connected.