fix some annotations

This commit is contained in:
rachel-fenichel 2016-10-21 17:38:57 -07:00
parent 2243cd9e9a
commit ed9453cfb5
3 changed files with 3 additions and 3 deletions

View file

@ -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));

View file

@ -755,7 +755,7 @@ Blockly.measureText = function(fontSize, fontFamily, fontWeight, text) {
/**
* Encode a string's HTML entities.
* E.g., <a> -> &lt;a&gt;
* @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) {

View file

@ -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.
*/