Updates documentation

This commit is contained in:
alschmiedt
2019-04-05 12:00:04 -07:00
parent 4fca16730c
commit 97d670c0ea

View File

@@ -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.