mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
Fix annotations
This commit is contained in:
parent
0686762a12
commit
e2f1a6c843
3 changed files with 5 additions and 5 deletions
|
@ -62,7 +62,7 @@ Blockly.inject = function(container, opt_options) {
|
|||
/**
|
||||
* Create the SVG image.
|
||||
* @param {!Element} container Containing element.
|
||||
* @param {Object} options Dictionary of options.
|
||||
* @param {!Blockly.Options} options Dictionary of options.
|
||||
* @return {!Element} Newly created SVG image.
|
||||
* @private
|
||||
*/
|
||||
|
@ -176,7 +176,7 @@ Blockly.createDom_ = function(container, options) {
|
|||
/**
|
||||
* Create a main workspace and add it to the SVG.
|
||||
* @param {!Element} svg SVG element with pattern defined.
|
||||
* @param {Object} options Dictionary of options.
|
||||
* @param {!Blockly.Options} options Dictionary of options.
|
||||
* @return {!Blockly.Workspace} Newly created main workspace.
|
||||
* @private
|
||||
*/
|
||||
|
|
|
@ -32,14 +32,14 @@ goog.require('goog.math');
|
|||
/**
|
||||
* Class for a workspace. This is a data structure that contains blocks.
|
||||
* There is no UI, and can be created headlessly.
|
||||
* @param {Object=} opt_options Dictionary of options.
|
||||
* @param {Blockly.Options} opt_options Dictionary of options.
|
||||
* @constructor
|
||||
*/
|
||||
Blockly.Workspace = function(opt_options) {
|
||||
/** @type {string} */
|
||||
this.id = Blockly.genUid();
|
||||
Blockly.Workspace.WorkspaceDB_[this.id] = this;
|
||||
/** @type {!Object} */
|
||||
/** @type {!Blockly.Options} */
|
||||
this.options = opt_options || {};
|
||||
/** @type {boolean} */
|
||||
this.RTL = !!this.options.RTL;
|
||||
|
|
|
@ -43,7 +43,7 @@ goog.require('goog.userAgent');
|
|||
/**
|
||||
* Class for a workspace. This is an onscreen area with optional trashcan,
|
||||
* scrollbars, bubbles, and dragging.
|
||||
* @param {!Object} options Dictionary of options.
|
||||
* @param {!Blockly.Options} options Dictionary of options.
|
||||
* @extends {Blockly.Workspace}
|
||||
* @constructor
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue