adding type annotations

This commit is contained in:
Troy McKinnon
2015-09-22 13:27:32 -05:00
parent 37777828f4
commit 6d6716c3d3
2 changed files with 2 additions and 0 deletions

View File

@@ -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_);