Skip to content

Commit

Permalink
rename Emitter's argumentTypes -> validators, phetsims/axon#212
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Feb 23, 2019
1 parent 226cb79 commit 18d8899
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/model/Atom2.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ define( function( require ) {
this.addedToModelProperty = new BooleanProperty( true );

// @public {Emitter} - Called with one parameter: particle
this.grabbedByUserEmitter = new Emitter( { argumentTypes: [ { valueType: Atom2 } ] } );
this.droppedByUserEmitter = new Emitter( { argumentTypes: [ { valueType: Atom2 } ] } );
this.grabbedByUserEmitter = new Emitter( { validators: [ { valueType: Atom2 } ] } );
this.droppedByUserEmitter = new Emitter( { validators: [ { valueType: Atom2 } ] } );
this.removedFromModelEmitter = new Emitter(); //REVIEW: Umm, not triggered?

this.tickEmitter = tickEmitter;
Expand Down

0 comments on commit 18d8899

Please sign in to comment.