File "blocks.js"

Full path: /usr/home/mndrn/domains/mndrn.ru/public_html/block-hill/blockly/demos/custom-fields/pitch/blocks.js
File size: 410 B
MIME-type: text/plain
Charset: utf-8

Download   Open   Back

/**
 * @license
 * Copyright 2019 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */

/**
 * @fileoverview Pitch field demo blocks.
 * @author [email protected] (Sam El-Husseini)
 */

Blockly.Blocks['test_pitch_field'] = {
  init: function() {
    this.appendDummyInput()
        .appendField('pitch')
        .appendField(new CustomFields.FieldPitch('7'), 'PITCH');
    this.setStyle('loop_blocks');
  }
};

PHP File Manager