mirror of
https://github.com/google/blockly.git
synced 2026-01-10 10:27:08 +01:00
Add namespace and alias annotations to jsdoc (#5550)
* Add annotations to files under core/events * Add annotations to files under core/interfaces * Add annotations to files under core/keyboard_nav * Add annotations to files under core/renderers * Add annotations to files under core/serialization * Add annotations to files under core/theme * Add annotations to files under core/toolbox * Add annotations to files under core/utils * Add annotations to files under core
This commit is contained in:
@@ -10,6 +10,10 @@
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Object representing an input (value, statement, or dummy).
|
||||
* @namespace Blockly.Input
|
||||
*/
|
||||
goog.module('Blockly.Input');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
@@ -36,6 +40,7 @@ goog.require('Blockly.FieldLabel');
|
||||
* @param {!Block} block The block containing this input.
|
||||
* @param {Connection} connection Optional connection for this input.
|
||||
* @constructor
|
||||
* @alias Blockly.Input
|
||||
*/
|
||||
const Input = function(type, name, block, connection) {
|
||||
if (type != inputTypes.DUMMY && !name) {
|
||||
|
||||
Reference in New Issue
Block a user