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 f9ce37e commit 0050f4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/common/model/Body.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ define( function( require ) {
// @public - emitters for various events
this.pointAddedEmitter = new Emitter( { validationEnabled: false } );
this.pointRemovedEmitter = new Emitter( { validationEnabled: false } );
this.clearedEmitter = new Emitter();
this.clearedEmitter = new Emitter( { validationEnabled: false } );
this.userModifiedPositionEmitter = new Emitter();
this.userModifiedVelocityEmitter = new Emitter();

Expand Down Expand Up @@ -311,7 +311,7 @@ define( function( require ) {
this.path = [];
this.pathLength = 0;
this.modelPathLength = 0;
this.clearedEmitter.emit1( this.name );
this.clearedEmitter.emit( this.name );
},

// @public
Expand Down

0 comments on commit 0050f4b

Please sign in to comment.