components/blockly-src/blocks/lists.js
function() {
    this.setColour(Blockly.Blocks.lists.HUE);
    this.appendDummyInput()
        .appendField(Blockly.Msg.LISTS_CREATE_WITH_ITEM_TITLE);
    this.setPreviousStatement(true);
    this.setNextStatement(true);
    this.setTooltip(Blockly.Msg.LISTS_CREATE_WITH_ITEM_TOOLTIP);
    this.contextMenu = false;
  }
function() {
    this.setColour(Blockly.Blocks.lists.HUE);
    this.appendDummyInput()
        .appendField(Blockly.Msg.LISTS_CREATE_WITH_ITEM_TITLE);
    this.setPreviousStatement(true);
    this.setNextStatement(true);
    this.setTooltip(Blockly.Msg.LISTS_CREATE_WITH_ITEM_TOOLTIP);
    this.contextMenu = false;
  }
function ( ) { this . setColour ( Blockly . Blocks . lists . HUE ) ; this . appendDummyInput ( ) . appendField ( Blockly . Msg . LISTS_CREATE_WITH_ITEM_TITLE ) ; this . setPreviousStatement ( true ) ; this . setNextStatement ( true ) ; this . setTooltip ( Blockly . Msg . LISTS_CREATE_WITH_ITEM_TOOLTIP ) ; this . contextMenu = false ; }
Mutator bolck for adding items.
@this Blockly.Block
Mutator bolck for adding items .