Skip to content

Commit

Permalink
formatting, #51
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Jun 24, 2017
1 parent fed6097 commit 2d98807
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion js/ohms-law/view/BatteryView.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ define( function( require ) {

ohmsLaw.register( 'BatteryView', BatteryView );

return inherit( Node, BatteryView,{
return inherit( Node, BatteryView, {

/**
* Set the length of the battery as well as voltage text and position of the text associated with the battery
Expand Down
2 changes: 1 addition & 1 deletion js/ohms-law/view/ControlPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ define( function( require ) {
numberDecimalPlaces: 0,
keyboardStep: 5,
centerX: voltageSlider.centerX + OhmsLawConstants.SLIDERS_HORIZONTAL_SEPARATION
} );
} );

// Use a content node so that the Panel can surround it fully
var content = new Node();
Expand Down
2 changes: 1 addition & 1 deletion js/ohms-law/view/FormulaNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ define( function( require ) {
} );
} );

this.mutate(options);
this.mutate( options );
}

ohmsLaw.register( 'FormulaNode', FormulaNode );
Expand Down
4 changes: 2 additions & 2 deletions js/ohms-law/view/OhmsLawScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ define( function( require ) {
controlPanel.right = this.layoutBounds.width - 25; // empirically determined
controlPanel.top = 60; // empirically determined
this.addChild( controlPanel );

var buttonCenterYOffset = 50; // empirically determined

// Sound on/off toggle button
Expand All @@ -57,7 +57,7 @@ define( function( require ) {
lineWidth: 0.5,
centerX: controlPanel.left + controlPanel.width * 0.70, // empirically determined
centerY: controlPanel.bottom + buttonCenterYOffset
} );
} );
this.addChild( soundToggleButton );

// Reset button
Expand Down
2 changes: 1 addition & 1 deletion js/ohms-law/view/SliderUnit.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ define( function( require ) {
readout.right = unitText.left - 10;
} );

this.mutate( options);
this.mutate( options );
}

ohmsLaw.register( 'SliderUnit', SliderUnit );
Expand Down
2 changes: 1 addition & 1 deletion js/ohms-law/view/WireBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ define( function( require ) {
} );
this.addChild( currentReadoutPanel );

this.mutate(options);
this.mutate( options );
}

ohmsLaw.register( 'WireBox', WireBox );
Expand Down

0 comments on commit 2d98807

Please sign in to comment.