mirror of
https://github.com/google/blockly.git
synced 2026-01-10 10:27:08 +01:00
Generated JS helper functions should be camelCase.
Complying with Google style guide.
This commit is contained in:
@@ -196,9 +196,9 @@ Blockly.JavaScript.scrub_ = function(block, code) {
|
||||
}
|
||||
// Collect comments for all value arguments.
|
||||
// Don't collect comments for nested statements.
|
||||
for (var x = 0; x < block.inputList.length; x++) {
|
||||
if (block.inputList[x].type == Blockly.INPUT_VALUE) {
|
||||
var childBlock = block.inputList[x].connection.targetBlock();
|
||||
for (var i = 0; i < block.inputList.length; i++) {
|
||||
if (block.inputList[i].type == Blockly.INPUT_VALUE) {
|
||||
var childBlock = block.inputList[i].connection.targetBlock();
|
||||
if (childBlock) {
|
||||
var comment = Blockly.JavaScript.allNestedComments(childBlock);
|
||||
if (comment) {
|
||||
|
||||
Reference in New Issue
Block a user