Skip to content

Commit

Permalink
add UTTERANCE_QUEUE to configs, move tests over to utterance-queue re…
Browse files Browse the repository at this point in the history
…po, convert usages to use the library, not the scenery-phet ones, delete those, phetsims/utterance-queue#2
  • Loading branch information
zepumph committed Oct 22, 2019
1 parent 7acbd7c commit c986115
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion js/molarity-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ require.config( {
SCENERY_PHET: '../../scenery-phet/js',
SUN: '../../sun/js',
TAMBO: '../../tambo/js',
TANDEM: '../../tandem/js'
TANDEM: '../../tandem/js',
UTTERANCE_QUEUE: '../../utterance-queue/js'
},

// Cache busting is applied by default, but can be disabled via ?cacheBust=false, see initialize-globals.js
Expand Down
8 changes: 4 additions & 4 deletions js/molarity/view/molarityAlertManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ define( require => {
'use strict';

// modules
const ActivationUtterance = require( 'SCENERY_PHET/accessibility/ActivationUtterance' );
const ActivationUtterance = require( 'UTTERANCE_QUEUE/ActivationUtterance' );
const molarity = require( 'MOLARITY/molarity' );
const MolarityA11yStrings = require( 'MOLARITY/molarity/MolarityA11yStrings' );
const StringUtils = require( 'PHETCOMMON/util/StringUtils' );
const utteranceQueue = require( 'SCENERY_PHET/accessibility/utteranceQueue' );
const Utterance = require( 'SCENERY_PHET/accessibility/Utterance' );
const ValueChangeUtterance = require( 'SCENERY_PHET/accessibility/ValueChangeUtterance' );
const utteranceQueue = require( 'UTTERANCE_QUEUE/utteranceQueue' );
const Utterance = require( 'UTTERANCE_QUEUE/Utterance' );
const ValueChangeUtterance = require( 'UTTERANCE_QUEUE/ValueChangeUtterance' );

// a11y strings
const noSoluteQualitativeAlertString = MolarityA11yStrings.noSoluteQualitativeAlert.value;
Expand Down

0 comments on commit c986115

Please sign in to comment.