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 23d3343 commit 3c98d83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/intro/model/EFACIntroModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ define( require => {
);

// @public - used to notify the view that a manual step was called
this.manualStepEmitter = new Emitter( { argumentTypes: [ { valueType: 'number' } ] } );
this.manualStepEmitter = new Emitter( { validators: [ { valueType: 'number' } ] } );
}

// helper function
Expand Down
2 changes: 1 addition & 1 deletion js/systems/model/SystemsModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ define( require => {
];

// @public - used to notify the view that a manual step was called
this.manualStepEmitter = new Emitter( { argumentTypes: [ { valueType: 'number' } ] } );
this.manualStepEmitter = new Emitter( { validators: [ { valueType: 'number' } ] } );

// set isActive = true for the first element in each carousel
this.carousels.forEach( carousel => {
Expand Down

0 comments on commit 3c98d83

Please sign in to comment.