mirror of
https://github.com/google/blockly.git
synced 2026-01-09 10:00:09 +01:00
jsdoc corrections (#874)
This commit is contained in:
committed by
picklesrus
parent
3742788557
commit
10108cc697
@@ -52,12 +52,14 @@ goog.inherits(Blockly.FieldVariable, Blockly.FieldDropdown);
|
||||
/**
|
||||
* The menu item index for the rename variable option.
|
||||
* @type {number}
|
||||
* @private
|
||||
*/
|
||||
Blockly.FieldVariable.prototype.renameVarItemIndex_ = -1;
|
||||
|
||||
/**
|
||||
* The menu item index for the delete variable option.
|
||||
* @type {number}
|
||||
* @private
|
||||
*/
|
||||
Blockly.FieldVariable.prototype.deleteVarItemIndex_ = -1;
|
||||
|
||||
|
||||
@@ -275,8 +275,8 @@ Blockly.Flyout.prototype.dragAngleRange_ = 70;
|
||||
|
||||
/**
|
||||
* Creates the flyout's DOM. Only needs to be called once. The flyout can
|
||||
* either exist as its own <svg> element or be a <g> nested inside a separate
|
||||
* <svg> element.
|
||||
* either exist as its own svg element or be a g element nested inside a
|
||||
* separate svg element.
|
||||
* @param {string} tagName The type of tag to put the flyout in. This
|
||||
* should be <svg> or <g>.
|
||||
* @return {!Element} The flyout's SVG group.
|
||||
|
||||
@@ -648,7 +648,7 @@ Blockly.Scrollbar.prototype.setVisible = function(visible) {
|
||||
*/
|
||||
Blockly.Scrollbar.prototype.updateDisplay_ = function() {
|
||||
var show = true;
|
||||
// Check whether our parent/container is visible.
|
||||
// Check whether our parent/container is visible.
|
||||
if (!this.containerVisible_) {
|
||||
show = false;
|
||||
} else {
|
||||
@@ -823,8 +823,8 @@ Blockly.Scrollbar.prototype.set = function(value) {
|
||||
* Set the origin of the upper left of the scrollbar. This if for times
|
||||
* when the scrollbar is used in an object whose origin isn't the same
|
||||
* as the main workspace (e.g. in a flyout.)
|
||||
* @ param {number} x The x coordinate of the scrollbar's origin.
|
||||
* @ param {number} y The y coordinate of the scrollbar's origin.
|
||||
* @param {number} x The x coordinate of the scrollbar's origin.
|
||||
* @param {number} y The y coordinate of the scrollbar's origin.
|
||||
*/
|
||||
Blockly.Scrollbar.prototype.setOrigin = function(x, y) {
|
||||
this.origin_ = new goog.math.Coordinate(x, y);
|
||||
|
||||
Reference in New Issue
Block a user