mirror of
https://github.com/google/blockly.git
synced 2026-01-09 10:00:09 +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';
|
||||
|
||||
/**
|
||||
* 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') {
|
||||
|
||||
Reference in New Issue
Block a user