Fixes pull request comments

This commit is contained in:
alschmiedt
2018-11-27 09:55:15 -08:00
parent e9773be499
commit f06bee4eca
6 changed files with 12 additions and 12 deletions

View File

@@ -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;
};