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 cb864fa commit 5fe5d96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/demo/GriddleDemoScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ define( require => {
const XYPlot = require( 'GRIDDLE/XYPlot' );

// constants - this is a hack to enable components to animate from the animation loop
const emitter = new Emitter();
const emitter = new Emitter( { validationEnabled: false } );

class GriddleDemoScreenView extends DemosScreenView {
constructor() {
Expand All @@ -61,7 +61,7 @@ define( require => {
* @public
*/
step( dt ) {
emitter.emit1( dt );
emitter.emit( dt );
}
}

Expand Down

0 comments on commit 5fe5d96

Please sign in to comment.