From 46de35a2d6c584ec7ed135d3e96b230badb3ac2c Mon Sep 17 00:00:00 2001 From: samreid Date: Tue, 26 Feb 2019 08:25:39 -0700 Subject: [PATCH] Convert validValue => valueType, see https://github.com/phetsims/axon/issues/204 --- js/Animation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/Animation.js b/js/Animation.js index c95bb80..47d842f 100644 --- a/js/Animation.js +++ b/js/Animation.js @@ -181,7 +181,7 @@ define( function( require ) { // A {number} is provided as a single argument to the emit callback, and represents how much "extra" time occurred // after the end of the animation. For example, if you have a 1-second animation and stepped it by 3 seconds, this // finished emitter would be called with 2 seconds. - this.finishEmitter = new Emitter( { validators: [ { validValue: 'number' } ] } ); + this.finishEmitter = new Emitter( { validators: [ { valueType: 'number' } ] } ); // @public {Emitter} - Fired when the animation is manually stopped (with stop()). Does NOT fire when it finishes // normally.