Skip to content

Commit

Permalink
edit and add review comments, see #43
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisklus committed Nov 6, 2018
1 parent d9edd06 commit da5bebe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions js/standardform/model/StandardFormModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ define( require => {
phetioStudioControl: false
};

//REVIEW: Since aProperty is duplicated in VertexFormModel.js, should there a comment that notes they should stay in sync?
// coefficients for standard form
//REVIEW: Since aProperty is duplicated in VertexFormModel.js, should there be comments that note that the
//documentation should stay in sync?
const aProperty = new NumberProperty( A_RANGE.defaultValue, _.extend( {
range: A_RANGE,
tandem: tandem.createTandem( 'aProperty' ),
Expand Down
3 changes: 2 additions & 1 deletion js/vertexform/model/VertexFormModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ define( require => {
}, coefficientPropertyOptions ) );
phet.log && aProperty.link( a => { phet.log( 'a=' + a ); } );

//REVIEW: Since h and k are duplicated in FocusAndDirectrixModel.js, should there be comments that note they should stay in sync?
//REVIEW: Since h and k are duplicated in FocusAndDirectrixModel.js, should there be comments that note that
//the documentation should stay in sync?
const hProperty = new NumberProperty( H_RANGE.defaultValue, _.extend( {
range: H_RANGE,
tandem: tandem.createTandem( 'hProperty' ),
Expand Down
3 changes: 3 additions & 0 deletions js/vertexform/view/VertexFormViewProperties.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ define( require => {

super( options );

//REVIEW: Since this Property is exactly duplicated in FocusAndDirectrixViewProperties.js, should there be comments
//that note that the documentation should stay in sync? Along with the other duplicated view Properties, like
//axisOfSymmetryVisibleProperty and coordinatesVisibleProperty.
// @public
this.vertexVisibleProperty = new BooleanProperty( true, {
tandem: options.tandem.createTandem( 'vertexVisibleProperty' ),
Expand Down

0 comments on commit da5bebe

Please sign in to comment.