Skip to content

Commit

Permalink
convert REVIEW to issue, #41
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Jun 28, 2022
1 parent adef009 commit 7f071cf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions js/intro/model/PipeModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ type StateObject = {

type SelfOptions = {
//REVIEW non-obvious options are supposed to be documented where defined, and these are not obvious to the reviewer
//REVIEW if x and y are the pipe's position, then position: Vector2 is preferable
x: number;
y: number;
isOpen?: boolean;
Expand All @@ -38,7 +37,6 @@ export default class PipeModel extends PhetioObject {
//REVIEW non-obvious fields are supposed to be documented where declared, and these are not obvious to the reviewer
public readonly isOpenProperty: BooleanProperty;
public readonly isCurrentlyClickedProperty = new BooleanProperty( false );
//REVIEW if x and y are the pipe's position, then position: Vector2 is preferable
public readonly x: number;
public readonly y: number;

Expand Down
3 changes: 0 additions & 3 deletions js/intro/model/WaterCupModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,13 @@ import Emitter from '../../../../axon/js/Emitter.js';

type SelfOptions = {
//REVIEW non-obvious options are supposed to be documented where defined, and these are not obvious to the reviewer
//REVIEW if x and y are the pipe's position, then position: Vector2 is preferable
x: number;
y: number;
waterHeightRange?: Range;
waterLevelPropertyOptions?: PickOptional<NumberPropertyOptions, 'phetioReadOnly'>;
};

type stateObject = {
//REVIEW if x and y are the pipe's position, then position: Vector2 is preferable
x: number;
y: number;
};
Expand All @@ -43,7 +41,6 @@ export type WaterCupModelOptions = SelfOptions & PhetioObjectOptions & PickRequi
export default class WaterCupModel extends PhetioObject {

//REVIEW non-obvious fields are supposed to be documented where declared, and these are not obvious to the reviewer
//REVIEW if x and y are the pipe's position, then position: Vector2 is preferable
public readonly x: number;
public readonly y: number;
public readonly waterLevelProperty: NumberProperty;
Expand Down

0 comments on commit 7f071cf

Please sign in to comment.