From b941c55ac9a356db0739db171c3bf8d2e21b2adb Mon Sep 17 00:00:00 2001 From: samreid Date: Fri, 2 Oct 2020 15:07:43 -0600 Subject: [PATCH] Update documentation, see https://github.com/phetsims/axon/issues/336 --- js/common/model/NumberLine.js | 2 +- js/common/model/PointController.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/common/model/NumberLine.js b/js/common/model/NumberLine.js index 242f221..0ba9682 100644 --- a/js/common/model/NumberLine.js +++ b/js/common/model/NumberLine.js @@ -37,7 +37,7 @@ class NumberLine { // exist on the number line when constructed and after a reset this.initialPointSpecs = options.initialPointSpecs; - // @public (read-only) {ObservableArray} - array of points on this number line + // @public (read-only) {ObservableArrayDef} - array of points on this number line this.residentPoints = createObservableArray(); // hook up a listener to make sure that the points don't land on top of one another diff --git a/js/common/model/PointController.js b/js/common/model/PointController.js index 1305ec6..2533d18 100644 --- a/js/common/model/PointController.js +++ b/js/common/model/PointController.js @@ -95,7 +95,7 @@ class PointController { // @public (read-only) {Animation|null} - tracks any animation that is currently in progress this.inProgressAnimationProperty = new Property( null ); - // @public (read-only) {ObservableArray} - points on the number line that this controls + // @public (read-only) {ObservableArrayDef} - points on the number line that this controls this.numberLinePoints = createObservableArray(); // add the initial number line points