Skip to content

Commit

Permalink
remove emit2(), use emit() instead, phetsims/axon#204 phetsims/axon#211
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Feb 27, 2019
1 parent 9e982cc commit fecb3e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/common/model/Pendulum.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ define( function( require ) {
// @public
this.stepEmitter = new Emitter();
this.userMovedEmitter = new Emitter();
this.crossingEmitter = new Emitter();
this.crossingEmitter = new Emitter( { validationEnabled: false } );
this.peakEmitter = new Emitter();
this.resetEmitter = new Emitter();

Expand Down Expand Up @@ -260,7 +260,7 @@ define( function( require ) {
// to newDT.
var crossingDT = Util.linear( oldTheta, newTheta, oldDT, newDT, 0 );

this.crossingEmitter.emit2( crossingDT, isPositiveDirection );
this.crossingEmitter.emit( crossingDT, isPositiveDirection );
},

/**
Expand Down

0 comments on commit fecb3e5

Please sign in to comment.