Skip to content

Commit

Permalink
Rename timer => stepTimer, see phetsims/axon#329
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Sep 11, 2020
1 parent 79368c0 commit cdc95db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/Animation.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

import BooleanProperty from '../../axon/js/BooleanProperty.js';
import Emitter from '../../axon/js/Emitter.js';
import timer from '../../axon/js/timer.js';
import stepTimer from '../../axon/js/stepTimer.js';
import TinyEmitter from '../../axon/js/TinyEmitter.js';
import Utils from '../../dot/js/Utils.js';
import inherit from '../../phet-core/js/inherit.js';
Expand Down Expand Up @@ -120,7 +120,7 @@ function Animation( config ) {
// as part of the Sim time step.
// TODO #3: {ScreenView} - animates only when the ScreenView is the active one.
// TODO #3: {Node} - animates only when the node's trail is visible on a Display
stepEmitter: timer
stepEmitter: stepTimer
}, config );

assert && assert( +( config.property !== undefined ) + +( config.object !== undefined ) + +( config.setValue !== undefined ) + +( config.targets !== null ) === 1,
Expand Down

0 comments on commit cdc95db

Please sign in to comment.