diff --git a/js/common/shopping/model/NumberLine.js b/js/common/shopping/model/NumberLine.js index 6b8cbaed..d089572c 100644 --- a/js/common/shopping/model/NumberLine.js +++ b/js/common/shopping/model/NumberLine.js @@ -60,6 +60,8 @@ define( function( require ) { return inherit( URNumberLine, NumberLine, { + // no dispose, persists for the lifetime of the sim. + /** * create type marker arrays, one for each type (i.e. apples, carrots, etc..) * @public @override diff --git a/js/common/shopping/model/URShoppingModel.js b/js/common/shopping/model/URShoppingModel.js index 58687a4a..96d9aaee 100644 --- a/js/common/shopping/model/URShoppingModel.js +++ b/js/common/shopping/model/URShoppingModel.js @@ -57,6 +57,8 @@ define( function( require ) { return inherit( PropertySet, URShoppingModel, { + // no dispose, persists for the lifetime of the sim. + /** * create type marker arrays, one for each type (i.e. apples, carrots, etc..) * @public @override diff --git a/js/common/shopping/view/URShoppingScreenView.js b/js/common/shopping/view/URShoppingScreenView.js index bed5a7a0..76677968 100644 --- a/js/common/shopping/view/URShoppingScreenView.js +++ b/js/common/shopping/view/URShoppingScreenView.js @@ -293,7 +293,7 @@ define( function( require ) { this.numberLineNode.reset(); this.scaleNode.reset(); this.shelfNode.reset(); - }, + } } ); // inherit diff --git a/js/common/view/URNumberLineNode.js b/js/common/view/URNumberLineNode.js index af883512..c7b2ef42 100644 --- a/js/common/view/URNumberLineNode.js +++ b/js/common/view/URNumberLineNode.js @@ -207,6 +207,8 @@ define( function( require ) { return inherit( AccordionBox, URNumberLineNode, { + // no dispose, persists for the lifetime of the sim. + /** * Sets length of the number line in pixels * @param {number} length