components/blockly-src/blocks/lists.js
function() {
    this.setHelpUrl(Blockly.Msg.LISTS_CREATE_WITH_HELPURL);
    this.setColour(Blockly.Blocks.lists.HUE);
    this.itemCount_ = 3;
    this.updateShape_();
    this.setOutput(true, 'Array');
    this.setMutator(new Blockly.Mutator(['lists_create_with_item']));
    this.setTooltip(Blockly.Msg.LISTS_CREATE_WITH_TOOLTIP);
  }
function() {
    this.setHelpUrl(Blockly.Msg.LISTS_CREATE_WITH_HELPURL);
    this.setColour(Blockly.Blocks.lists.HUE);
    this.itemCount_ = 3;
    this.updateShape_();
    this.setOutput(true, 'Array');
    this.setMutator(new Blockly.Mutator(['lists_create_with_item']));
    this.setTooltip(Blockly.Msg.LISTS_CREATE_WITH_TOOLTIP);
  }
function ( ) { this . setHelpUrl ( Blockly . Msg . LISTS_CREATE_WITH_HELPURL ) ; this . setColour ( Blockly . Blocks . lists . HUE ) ; this . itemCount_ = 3 ; this . updateShape_ ( ) ; this . setOutput ( true , 'Array' ) ; this . setMutator ( new Blockly . Mutator ( [ 'lists_create_with_item' ] ) ) ; this . setTooltip ( Blockly . Msg . LISTS_CREATE_WITH_TOOLTIP ) ; }
Block for creating a list with any number of elements of any type.
@this Blockly.Block
Block for creating a list with any number of elements of any type .