Skip to content

Commit

Permalink
Renamed [C|c]heckBox => [C|c]heckbox, see phetsims/tasks#910
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Jan 12, 2018
1 parent 02f2a41 commit 45c6c07
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions js/common/view/AlphaParticlePropertiesPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ define( function( require ) {
'use strict';

// modules
var CheckBox = require( 'SUN/CheckBox' );
var Checkbox = require( 'SUN/Checkbox' );
var Dimension2 = require( 'DOT/Dimension2' );
var HBox = require( 'SCENERY/nodes/HBox' );
var HSlider = require( 'SUN/HSlider' );
Expand Down Expand Up @@ -220,11 +220,11 @@ define( function( require ) {
fill: RSColorProfile.panelLabelColorProperty,
maxWidth: 180
} );
var showTraceCheckBox = new CheckBox( showTraceText, showTracesProperty, {
checkBoxColor: RSColorProfile.panelLabelColorProperty,
checkBoxColorBackground: RSColorProfile.panelColorProperty
var showTraceCheckbox = new Checkbox( showTraceText, showTracesProperty, {
checkboxColor: RSColorProfile.panelLabelColorProperty,
checkboxColorBackground: RSColorProfile.panelColorProperty
} );
var showTraceBox = new HBox( { children: [ showTraceStrut, showTraceCheckBox ] } );
var showTraceBox = new HBox( { children: [ showTraceStrut, showTraceCheckbox ] } );

VBox.call( this, {
spacing: RSConstants.PANEL_CHILD_SPACING,
Expand All @@ -237,7 +237,7 @@ define( function( require ) {

// @private
this.disposeContent = function() {
showTraceCheckBox.dispose();
showTraceCheckbox.dispose();
particleEnergySlider.dispose();
};
}
Expand Down
4 changes: 2 additions & 2 deletions js/common/view/MenuOptionsNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ define( function( require ) {
'use strict';

// modules
var CheckBox = require( 'SUN/CheckBox' );
var Checkbox = require( 'SUN/Checkbox' );
var inherit = require( 'PHET_CORE/inherit' );
var OptionsDialog = require( 'JOIST/OptionsDialog' );
var RSGlobals = require( 'RUTHERFORD_SCATTERING/common/RSGlobals' );
Expand All @@ -29,7 +29,7 @@ define( function( require ) {
function MenuOptionsNode( model ) {
var children = [];

children.push( new CheckBox( new Text( optionsProjectorModeString, { font: OptionsDialog.DEFAULT_FONT } ),
children.push( new Checkbox( new Text( optionsProjectorModeString, { font: OptionsDialog.DEFAULT_FONT } ),
RSGlobals.projectorModeProperty, {} ) );

VBox.call( this, _.extend( {
Expand Down

0 comments on commit 45c6c07

Please sign in to comment.