mirror of
https://github.com/google/blockly.git
synced 2026-01-04 15:40:08 +01:00
Fixes pull request comments
This commit is contained in:
@@ -188,7 +188,7 @@ Blockly.Dart.quote_ = function(string) {
|
||||
* Calls any statements following this block.
|
||||
* @param {!Blockly.Block} block The current block.
|
||||
* @param {string} code The Dart 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} Dart code with comments and subsequent blocks added.
|
||||
* @private
|
||||
*/
|
||||
@@ -222,7 +222,7 @@ Blockly.Dart.scrub_ = function(block, code, opt_thisOnly) {
|
||||
}
|
||||
}
|
||||
var nextBlock = block.nextConnection && block.nextConnection.targetBlock();
|
||||
var nextCode = opt_thisOnly ? "" : Blockly.Dart.blockToCode(nextBlock);
|
||||
var nextCode = opt_thisOnly ? '' : Blockly.Dart.blockToCode(nextBlock);
|
||||
return commentCode + code + nextCode;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user