Skip to content

Commit

Permalink
Convert validValue => valueType, see phetsims/axon#204
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Feb 26, 2019
1 parent 576831a commit 46de35a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/Animation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 46de35a

Please sign in to comment.