Skip to content

Commit

Permalink
remove emit1(), use emit() instead, phetsims/axon#211
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Feb 27, 2019
1 parent aa31c4f commit a7080dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/Sim.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ define( function( require ) {
phet.joist.elapsedTime = phet.joist.elapsedTime + dt * 1000;

// timer step before model/view steps, see https://github.com/phetsims/joist/issues/401
timer.emit1( dt );
timer.emit( dt );

// If the DT is 0, we will skip the model step (see https://github.com/phetsims/joist/issues/171)
if ( screen && screen.model.step && dt ) {
Expand Down

0 comments on commit a7080dd

Please sign in to comment.