From c986115f4c15aaccf0edd0ae38c17a109826c16c Mon Sep 17 00:00:00 2001 From: zepumph Date: Tue, 22 Oct 2019 13:39:19 -0800 Subject: [PATCH] add UTTERANCE_QUEUE to configs, move tests over to utterance-queue repo, convert usages to use the library, not the scenery-phet ones, delete those, https://github.com/phetsims/utterance-queue/issues/2 --- js/molarity-config.js | 3 ++- js/molarity/view/molarityAlertManager.js | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/js/molarity-config.js b/js/molarity-config.js index 1f0960f1..405083fb 100644 --- a/js/molarity-config.js +++ b/js/molarity-config.js @@ -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 diff --git a/js/molarity/view/molarityAlertManager.js b/js/molarity/view/molarityAlertManager.js index 186490c8..3e37528a 100644 --- a/js/molarity/view/molarityAlertManager.js +++ b/js/molarity/view/molarityAlertManager.js @@ -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;