mirror of
https://github.com/google/blockly.git
synced 2026-01-09 18:10:08 +01:00
Fix 'this' warning on aggressive compile.
This commit is contained in:
@@ -202,7 +202,7 @@ Blockly.Python.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.Python.COMMENT_WRAP - 3);
|
||||
if (comment) {
|
||||
if (block.getProcedureDef) {
|
||||
// Use a comment block for function comments.
|
||||
|
||||
Reference in New Issue
Block a user