Skip to content

Commit

Permalink
review comments, #154
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Aug 5, 2021
1 parent 4cb1027 commit e85490b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion js/common/model/Target.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Target extends EnabledComponent {
/**
* @param {Property.<Vector2>} objectPositionProperty - position of the object/source
* @param {Optic} optic - model of the optic
* @param {Property.<representation>} representationProperty
* @param {Property.<Representation>} representationProperty
* @param {Tandem} tandem
*/
constructor( objectPositionProperty,
Expand Down
1 change: 1 addition & 0 deletions js/lens/model/Spotlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class Spotlight {

// determine the shape intersection of the screen and spotlight
// @public (read-only) {Property.<Shape>}
// REVIEW: This is a bit vague, perhaps intersectionShapeProperty? At first I thought it was the shape of the spotlight source itself, and wondered why it was in the model.
this.shapeProperty = new DerivedProperty( [
screenPositionProperty,
optic.positionProperty,
Expand Down

0 comments on commit e85490b

Please sign in to comment.