google / blockly-devtools

Tools for Blockly app developers to help build custom blocks.
http://developer.google.com/blockly
Apache License 2.0
60 stars 31 forks source link

JavaScript definition has wrong indentation. #296

Open AnmAtAnm opened 6 years ago

AnmAtAnm commented 6 years ago

on setTooltip() and setHelpUrl lines.

Blockly.Blocks['myFirstBlock'] = {
  init: function() {
    this.appendStatementInput("NAME")
        .appendField("My Block");
    this.setColour(230);
 this.setTooltip("");                       // This line
 this.setHelpUrl("");                       // And this line
  } 
};

Also true in original demo/blockfactory