style and doc updates.

This commit is contained in:
kozbial
2019-09-19 10:37:40 -07:00
parent c533a0d943
commit 60e6b8c6df
2 changed files with 5 additions and 4 deletions

View File

@@ -100,7 +100,7 @@ Blockly.blockRendering.Renderer.prototype.makeDebugger_ = function() {
};
/**
* Create a new instance of the renderer's cursor drawer
* Create a new instance of the renderer's cursor drawer.
* @param {!Blockly.WorkspaceSvg} workspace The workspace the cursor belongs to.
* @param {boolean=} opt_marker True if the cursor is a marker. A marker is used
* to save a location and is an immovable cursor. False or undefined if the
@@ -108,7 +108,8 @@ Blockly.blockRendering.Renderer.prototype.makeDebugger_ = function() {
* @return {!Blockly.CursorSvg} The cursor drawer.
* @package
*/
Blockly.blockRendering.Renderer.prototype.makeCursorDrawer = function(workspace, opt_marker) {
Blockly.blockRendering.Renderer.prototype.makeCursorDrawer = function(
workspace, opt_marker) {
return new Blockly.CursorSvg(workspace, opt_marker);
};

View File

@@ -119,14 +119,14 @@ Blockly.Workspace = function(opt_options) {
/**
* The cursor used to navigate around the AST for keyboard navigation.
* @type {Blockly.Cursor}
* @type {!Blockly.Cursor}
* @protected
*/
this.cursor_ = new Blockly.Cursor();
/**
* The marker used to mark a location for keyboard navigation.
* @type {Blockly.MarkerCursor}
* @type {!Blockly.MarkerCursor}
* @protected
*/
this.marker_ = new Blockly.MarkerCursor();