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 5ad8d60 commit 6ab6853
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/common/model/RSBaseModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ define( function( require ) {
this.gun = new Gun( this );

// @protected - used to signal when a sim step has occurred
this.stepEmitter = new Emitter();
this.stepEmitter = new Emitter( { validationEnabled: false } );

}

Expand Down Expand Up @@ -190,7 +190,7 @@ define( function( require ) {
this.cullParticles();
}

this.stepEmitter.emit1( dt );
this.stepEmitter.emit( dt );
},

/**
Expand Down

0 comments on commit 6ab6853

Please sign in to comment.