mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
fix some annotations
This commit is contained in:
parent
2243cd9e9a
commit
ed9453cfb5
3 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,7 @@ goog.require('Blockly.constants');
|
|||
|
||||
/**
|
||||
* Pick a random colour.
|
||||
* @return {!string} #RRGGBB for random colour.
|
||||
* @return {string} #RRGGBB for random colour.
|
||||
*/
|
||||
function randomColour() {
|
||||
var num = Math.floor(Math.random() * Math.pow(2, 24));
|
||||
|
|
|
@ -755,7 +755,7 @@ Blockly.measureText = function(fontSize, fontFamily, fontWeight, text) {
|
|||
/**
|
||||
* Encode a string's HTML entities.
|
||||
* E.g., <a> -> <a>
|
||||
* @param {!string} rawStr Unencoded raw string to encode.
|
||||
* @param {string} rawStr Unencoded raw string to encode.
|
||||
* @return {string} String with HTML entities encoded.
|
||||
*/
|
||||
Blockly.encodeEntities = function(rawStr) {
|
||||
|
|
|
@ -80,7 +80,7 @@ Blockly.Workspace = function(opt_options) {
|
|||
*/
|
||||
this.blockDB_ = Object.create(null);
|
||||
/*
|
||||
* @type {!Array.<!string>}
|
||||
* @type {!Array.<string>}
|
||||
* A list of all of the named variables in the workspace, including variables
|
||||
* that are not currently in use.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue