Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Jun 18, 2019
1 parent e3b2c5e commit 6dc2ad4
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions js/gravity-force-lab/view/GravityForceLabScreenSummaryNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ define( require => {
const screenSummarySecondaryDescriptionString = GravityForceLabA11yStrings.screenSummarySecondaryDescription.value;
const simStateListLabelString = GravityForceLabA11yStrings.simStateListLabel.value;

// import from ISLC so that coloumbs-law can use it too
// import from ISLC so that coulombs-law can use it too
const summaryInteractionHintPatternString = ISLCA11yStrings.summaryInteractionHintPattern.value;

class GravityForceLabScreenSummaryNode extends Node {
Expand Down Expand Up @@ -62,11 +62,13 @@ define( require => {
this.positionDescriber = positionDescriber;
this.massDescriber = massDescriber;

const liOptions = { tagName: 'li' };

// @private - Nodes for PDOM content
this.forceVectorsSummaryItem = new Node( { tagName: 'li' } );
this.objectDistanceSummaryItem = new Node( { tagName: 'li' } );
this.massValuesSummaryItem = new Node( { tagName: 'li' } );
this.robotsSummaryItem = new Node( { tagName: 'li' } );
this.forceVectorsSummaryItem = new Node( liOptions );
this.objectDistanceSummaryItem = new Node( liOptions );
this.massValuesSummaryItem = new Node( liOptions );
this.robotsSummaryItem = new Node( liOptions );

// initialize the list contents
this.updateSimStateList();
Expand Down

0 comments on commit 6dc2ad4

Please sign in to comment.