Skip to content

Commit

Permalink
don't initialize webSpeaker and speakerHighlighter in sim code
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Mar 24, 2021
1 parent 1049096 commit 3f150e1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions js/john-travoltage/view/JohnTravoltageView.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import StringUtils from '../../../../phetcommon/js/util/StringUtils.js';
import SelfVoicingInputListener from '../../../../scenery-phet/js/accessibility/speaker/SelfVoicingInputListener.js';
import SelfVoicingQuickControl from '../../../../scenery-phet/js/accessibility/speaker/SelfVoicingQuickControl.js';
import levelSpeakerModel from '../../../../scenery-phet/js/accessibility/speaker/levelSpeakerModel.js';
import speakerHighlighter from '../../../../scenery-phet/js/accessibility/speaker/speakerHighlighter.js';
import ResetAllButton from '../../../../scenery-phet/js/buttons/ResetAllButton.js';
import sceneryPhetStrings from '../../../../scenery-phet/js/sceneryPhetStrings.js';
import PDOMPeer from '../../../../scenery/js/accessibility/pdom/PDOMPeer.js';
Expand Down Expand Up @@ -392,8 +391,6 @@ class JohnTravoltageView extends ScreenView {

// prototype code related to the self-voicing work
if ( phet.chipper.queryParameters.supportsSelfVoicing ) {
webSpeaker.initialize();
speakerHighlighter.initialize();

// add the swipe listener
const swipeListener = new SwipeListener( phet.joist.display._input );
Expand Down

0 comments on commit 3f150e1

Please sign in to comment.