mirror of
https://github.com/google/blockly.git
synced 2026-01-04 23:50:12 +01:00
Fixes pull request comments
This commit is contained in:
@@ -218,7 +218,7 @@ Blockly.PHP.quote_ = function(string) {
|
||||
* Calls any statements following this block.
|
||||
* @param {!Blockly.Block} block The current block.
|
||||
* @param {string} code The PHP code created for this block.
|
||||
* @param {boolean} opt_thisOnly True to generate code for only this block.
|
||||
* @param {boolean=} opt_thisOnly True to generate code for only this statement.
|
||||
* @return {string} PHP code with comments and subsequent blocks added.
|
||||
* @private
|
||||
*/
|
||||
@@ -247,7 +247,7 @@ Blockly.PHP.scrub_ = function(block, code, opt_thisOnly) {
|
||||
}
|
||||
}
|
||||
var nextBlock = block.nextConnection && block.nextConnection.targetBlock();
|
||||
var nextCode = opt_thisOnly ? "" : Blockly.PHP.blockToCode(nextBlock);
|
||||
var nextCode = opt_thisOnly ? '' : Blockly.PHP.blockToCode(nextBlock);
|
||||
return commentCode + code + nextCode;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user