mirror of
https://github.com/google/blockly.git
synced 2025-12-16 14:20:10 +01:00
Our files are up to a decade old, and have churned so much, that the initial author of the file no longer has much meaning. Furthermore, this will encourage developers to post to the developer group, rather than emailing Googlers (usually me) directly.
19 lines
364 B
JavaScript
19 lines
364 B
JavaScript
/**
|
|
* @license
|
|
* Copyright 2019 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview Pitch field demo blocks.
|
|
*/
|
|
|
|
Blockly.Blocks['test_pitch_field'] = {
|
|
init: function() {
|
|
this.appendDummyInput()
|
|
.appendField('pitch')
|
|
.appendField(new CustomFields.FieldPitch('7'), 'PITCH');
|
|
this.setStyle('loop_blocks');
|
|
}
|
|
};
|