mirror of
https://github.com/google/blockly.git
synced 2026-01-06 00:20:37 +01:00
Merge branch 'master' into develop
This commit is contained in:
@@ -170,7 +170,7 @@ Blockly.Lua.scrub_ = function(block, code) {
|
||||
if (!block.outputConnection || !block.outputConnection.targetConnection) {
|
||||
// Collect comment for this block.
|
||||
var comment = block.getCommentText();
|
||||
comment = Blockly.utils.wrap(comment, this.COMMENT_WRAP - 3);
|
||||
comment = Blockly.utils.wrap(comment, Blockly.Lua.COMMENT_WRAP - 3);
|
||||
if (comment) {
|
||||
commentCode += Blockly.Lua.prefixLines(comment, '-- ') + '\n';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user