Fix jsdoc. @return instead of @returns (#3271)

* Fix jsdoc. @return instead of @returns
This commit is contained in:
Sam El-Husseini
2019-10-16 17:01:36 -05:00
committed by GitHub
parent 8407428e8f
commit c1c9121fcc
4 changed files with 8 additions and 8 deletions

View File

@@ -528,7 +528,7 @@ Blockly.FieldTextInput.prototype.getText_ = function() {
* than the field's value. This should be coupled with an override of
* `getValueFromEditorText_`.
* @param {*} value The value stored in this field.
* @returns {string} The text to show on the html input.
* @return {string} The text to show on the html input.
* @protected
*/
Blockly.FieldTextInput.prototype.getEditorText_ = function(value) {
@@ -542,7 +542,7 @@ Blockly.FieldTextInput.prototype.getEditorText_ = function(value) {
* than the field's value. This should be coupled with an override of
* `getEditorText_`.
* @param {string} text Text received from the html input.
* @returns {*} The value to store.
* @return {*} The value to store.
* @protected
*/
Blockly.FieldTextInput.prototype.getValueFromEditorText_ = function(text) {