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:
Monica Kozbial
2021-09-27 14:42:54 -07:00
committed by GitHub
parent 839cb7bef1
commit d8fbe1b05b
252 changed files with 1533 additions and 129 deletions

View File

@@ -10,6 +10,10 @@
*/
'use strict';
/**
* Functions for injecting Blockly into a web page.
* @namespace Blockly.inject
*/
goog.module('Blockly.inject');
/* eslint-disable-next-line no-unused-vars */
@@ -43,6 +47,7 @@ const {BlockDragSurfaceSvg} = goog.require('Blockly.BlockDragSurfaceSvg');
* or a CSS selector.
* @param {BlocklyOptions=} opt_options Optional dictionary of options.
* @return {!WorkspaceSvg} Newly created main workspace.
* @alias Blockly.inject
*/
const inject = function(container, opt_options) {
if (typeof container == 'string') {