Fix type tags and todo placement.

This commit is contained in:
marisaleung
2017-08-03 12:05:17 -07:00
parent f3fa660c41
commit 5f21a43caf
5 changed files with 9 additions and 7 deletions

View File

@@ -44,7 +44,8 @@ goog.require('goog.ui.MenuItem');
Blockly.ContextMenu.currentBlock = null;
/**
* @type {Array.<!Array>} Opaque data that can be passed to unbindEvent_.
* Opaque data that can be passed to unbindEvent_.
* @type {Array.<!Array>}
* @private
*/
Blockly.ContextMenu.eventWrapper_ = null;

View File

@@ -138,8 +138,9 @@ Blockly.Flyout.prototype.CORNER_RADIUS = 8;
*/
Blockly.Flyout.prototype.MARGIN = Blockly.Flyout.prototype.CORNER_RADIUS;
// TODO: Move GAP_X and GAP_Y to their appropriate files.
/**
* TODO: Move GAP_X and GAP_Y to their appropriate files.
* Gap between items in horizontal flyouts. Can be overridden with the "sep"
* element.
* @const {number}

View File

@@ -38,11 +38,12 @@ goog.require('goog.asserts');
goog.require('goog.math.Coordinate');
/**
* NB: In this file "start" refers to touchstart, mousedown, and pointerstart
/*
* Note: In this file "start" refers to touchstart, mousedown, and pointerstart
* events. "End" refers to touchend, mouseup, and pointerend events.
* TODO: Consider touchcancel/pointercancel.
*/
// TODO: Consider touchcancel/pointercancel.
/**
* Class for one gesture.

View File

@@ -35,10 +35,10 @@ goog.provide('Blockly.VariableMap');
*/
Blockly.VariableMap = function(workspace) {
/**
* @type {!Object<string, !Array.<Blockly.VariableModel>>}
* A map from variable type to list of variable names. The lists contain all
* of the named variables in the workspace, including variables
* that are not currently in use.
* @type {!Object<string, !Array.<Blockly.VariableModel>>}
* @private
*/
this.variableMap_ = {};

View File

@@ -929,7 +929,6 @@ Blockly.WorkspaceSvg.prototype.refreshToolboxSelection_ = function() {
/**
* Rename a variable by updating its name in the variable list.
* TODO: google/blockly:#468
* @param {string} oldName Variable to rename.
* @param {string} newName New variable name.
* @package