mirror of
https://github.com/google/blockly.git
synced 2026-02-01 13:10:22 +01:00
Wrapping lines > 80 char.
This commit is contained in:
@@ -50,7 +50,8 @@ Blockly.Blocks['procedures_defnoreturn'] = {
|
||||
.appendField('', 'PARAMS');
|
||||
this.setMutator(new Blockly.Mutator(['procedures_mutatorarg']));
|
||||
if ((this.workspace.options.comments ||
|
||||
(this.workspace.options.parentWorkspace && this.workspace.options.parentWorkspace.options.comments)) &&
|
||||
(this.workspace.options.parentWorkspace &&
|
||||
this.workspace.options.parentWorkspace.options.comments)) &&
|
||||
Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT) {
|
||||
this.setCommentText(Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT);
|
||||
}
|
||||
@@ -346,7 +347,8 @@ Blockly.Blocks['procedures_defreturn'] = {
|
||||
.appendField(Blockly.Msg.PROCEDURES_DEFRETURN_RETURN);
|
||||
this.setMutator(new Blockly.Mutator(['procedures_mutatorarg']));
|
||||
if ((this.workspace.options.comments ||
|
||||
(this.workspace.options.parentWorkspace && this.workspace.options.parentWorkspace.options.comments)) &&
|
||||
(this.workspace.options.parentWorkspace &&
|
||||
this.workspace.options.parentWorkspace.options.comments)) &&
|
||||
Blockly.Msg.PROCEDURES_DEFRETURN_COMMENT) {
|
||||
this.setCommentText(Blockly.Msg.PROCEDURES_DEFRETURN_COMMENT);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user