Skip to content

Commit

Permalink
Improve common code jsdoc to help RAP Typescript conversion, phetsims…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 22, 2021
1 parent e2749db commit 53d9f48
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
26 changes: 13 additions & 13 deletions js/keyboard/TextKeyNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import merge from '../../../phet-core/js/merge.js';
import RichText from '../../../scenery/js/nodes/RichText.js';
import PhetFont from '../PhetFont.js';
import sceneryPhet from '../sceneryPhet.js';
import KeyNode from './KeyNode.js';
import sceneryPhetStrings from '../sceneryPhetStrings.js';
import KeyNode from './KeyNode.js';

class TextKeyNode extends KeyNode {

Expand Down Expand Up @@ -52,7 +52,7 @@ class TextKeyNode extends KeyNode {

/**
* @param {Object} [options]
* @returns {Node}
* @returns {../../../scenery/js/nodes/Node}
* @public
*/
static alt( options ) {
Expand All @@ -61,7 +61,7 @@ class TextKeyNode extends KeyNode {

/**
* @param {Object} [options]
* @returns {Node}
* @returns {../../../scenery/js/nodes/Node}
* @public
*/
static capsLock( options ) {
Expand All @@ -70,7 +70,7 @@ class TextKeyNode extends KeyNode {

/**
* @param {Object} [options]
* @returns {Node}
* @returns {../../../scenery/js/nodes/Node}
* @public
*/
static esc( options ) {
Expand All @@ -79,7 +79,7 @@ class TextKeyNode extends KeyNode {

/**
* @param {Object} [options]
* @returns {Node}
* @returns {../../../scenery/js/nodes/Node}
* @public
*/
static end( options ) {
Expand All @@ -88,7 +88,7 @@ class TextKeyNode extends KeyNode {

/**
* @param {Object} [options]
* @returns {Node}
* @returns {../../../scenery/js/nodes/Node}
* @public
*/
static enter( options ) {
Expand All @@ -97,7 +97,7 @@ class TextKeyNode extends KeyNode {

/**
* @param {Object} [options]
* @returns {Node}
* @returns {../../../scenery/js/nodes/Node}
* @public
*/
static fn( options ) {
Expand All @@ -106,7 +106,7 @@ class TextKeyNode extends KeyNode {

/**
* @param {Object} [options]
* @returns {Node}
* @returns {../../../scenery/js/nodes/Node}
* @public
*/
static home( options ) {
Expand All @@ -115,7 +115,7 @@ class TextKeyNode extends KeyNode {

/**
* @param {Object} [options]
* @returns {Node}
* @returns {../../../scenery/js/nodes/Node}
* @public
*/
static pageDown( options ) {
Expand All @@ -124,7 +124,7 @@ class TextKeyNode extends KeyNode {

/**
* @param {Object} [options]
* @returns {Node}
* @returns {../../../scenery/js/nodes/Node}
* @public
*/
static pageUp( options ) {
Expand All @@ -133,7 +133,7 @@ class TextKeyNode extends KeyNode {

/**
* @param {Object} [options]
* @returns {Node}
* @returns {../../../scenery/js/nodes/Node}
* @public
*/
static space( options ) {
Expand All @@ -142,7 +142,7 @@ class TextKeyNode extends KeyNode {

/**
* @param {Object} [options]
* @returns {Node}
* @returns {../../../scenery/js/nodes/Node}
* @public
*/
static shift( options ) {
Expand All @@ -151,7 +151,7 @@ class TextKeyNode extends KeyNode {

/**
* @param {Object} [options]
* @returns {Node}
* @returns {../../../scenery/js/nodes/Node}
* @public
*/
static tab( options ) {
Expand Down
2 changes: 1 addition & 1 deletion js/keyboard/help/KeyboardHelpSection.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ class KeyboardHelpSection extends VBox {
* @public
*
* @param {string} labelString - string for the label Text
* @param {Node} icon
* @param {../../../../scenery/js/nodes/Node} icon
* @param {string} labelInnerContent - required to have the PDOM description of this row in the dialog
* @param {Object} [options]
* @returns {HelpSectionRow} - so KeyboardHelpSection can layout content groups
Expand Down

0 comments on commit 53d9f48

Please sign in to comment.