Skip to content

Commit

Permalink
change issue number associated with some TODO items #30
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Jul 19, 2017
1 parent 784f140 commit 0bbc5d6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion js/common/MPQueryParameters.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ define( function( require ) {
defaultValue: 'RWB'
},

//TODO delete when Real Molecules is fully implemented, see #15
//TODO delete this query parameter when Real Molecules is fully implemented, see #32
// enables the 'Real Molecules' screen, for development
realMolecules: { type: 'flag' }
} );
Expand Down
9 changes: 5 additions & 4 deletions js/common/view/MPOptionsNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,13 @@ define( function( require ) {
var surfaceColorControl = ( new SurfaceColorControl( MPConstants.GLOBAL_OPTIONS.surfaceColorProperty ) );

var children = [
dipoleDirectionControl
dipoleDirectionControl,
surfaceColorControl
];

//TODO clean this up when Real Molecules screen is implemented, see #15
if ( MPQueryParameters.realMolecules ) {
children.push( surfaceColorControl );
//TODO remove the Surface Color option until Real Molecules screen is implemented, see #32
if ( !MPQueryParameters.realMolecules ) {
children.splice( children.indexOf( surfaceColorControl ), 1 );
}

VBox.call( this, {
Expand Down
2 changes: 1 addition & 1 deletion js/realmolecules/view/RealMoleculesScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ define( function( require ) {
electronDensityColorKey.visible = ( surfaceType === SurfaceType.ELECTRON_DENSITY );
} );

//TODO Hide everything and show a dialog until this screen is fully implemented, see #15
//TODO Hide everything and show a dialog until Real Molecules screen is fully implemented, see #32
if ( MPQueryParameters.realMolecules ) {
this.addChild( rootNode );
}
Expand Down
2 changes: 1 addition & 1 deletion js/realmolecules/view/UnderDevelopmentPlane.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2017, University of Colorado Boulder

//TODO Delete when the 3D viewer is implemented, see #15
//TODO Delete when the Real Molecules screen is completed, see #32
/**
* Used to disable the 'Real Molecules' screen and display a message indicating that it's under development.
*
Expand Down

0 comments on commit 0bbc5d6

Please sign in to comment.