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 d6f876e commit 47bb7e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/netforce/view/GoPauseButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ define( function( require ) {
] )
} );
var goListener = function() {
goButtonPressedEmitter.emit2( model.netForceProperty.get(), JSON.stringify( model.getKnotDescription() ) );
goButtonPressedEmitter.emit( model.netForceProperty.get(), JSON.stringify( model.getKnotDescription() ) );
model.runningProperty.set( true );
};
var goButton = new RoundPushButton( {
Expand Down

0 comments on commit 47bb7e5

Please sign in to comment.