mirror of
https://github.com/google/blockly.git
synced 2026-01-07 17:10:11 +01:00
adding type annotations
This commit is contained in:
@@ -113,6 +113,7 @@ Blockly.Field.prototype.init = function(block) {
|
||||
'x': -Blockly.BlockSvg.SEP_SPACE_X / 2,
|
||||
'y': 0,
|
||||
'height': 16}, this.fieldGroup_, this.sourceBlock_.workspace);
|
||||
/** @type {Element} */
|
||||
this.textElement_ = Blockly.createSvgElement('text',
|
||||
{'class': 'blocklyText', 'y': this.size_.height - 12.5}, this.fieldGroup_);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user