diff --git a/js/Property.js b/js/Property.js index 8a4b1ad1..cd018237 100644 --- a/js/Property.js +++ b/js/Property.js @@ -47,7 +47,7 @@ define( require => { // Use this to detect or prevent update cycles. Update cycles may be due to floating point error, // faulty logic, etc. This may be of particular interest for PhET-iO instrumentation, where such // cycles may pollute the data stream. See https://github.com/phetsims/axon/issues/179 - reentrant: false, + reentrant: false // Property also supports validator options, see ValidatorDef.VALIDATOR_KEYS. diff --git a/js/ValidatorDef.js b/js/ValidatorDef.js index 8ace7d10..6bcf6852 100644 --- a/js/ValidatorDef.js +++ b/js/ValidatorDef.js @@ -284,7 +284,7 @@ define( require => { else { // if not an array, then just check the array element - return ValidatorDef.isValueValidValueType( arrayElement, validator.arrayElementType, options ) + return ValidatorDef.isValueValidValueType( arrayElement, validator.arrayElementType, options ); } } ) ) ) { return false; // if every element didn't pass, then return false