diff --git a/js/view/ISLCAlertManager.js b/js/view/ISLCAlertManager.js index 3c003da..6f30bfa 100644 --- a/js/view/ISLCAlertManager.js +++ b/js/view/ISLCAlertManager.js @@ -15,9 +15,7 @@ define( require => { const ActivationUtterance = require( 'UTTERANCE_QUEUE/ActivationUtterance' ); const inverseSquareLawCommon = require( 'INVERSE_SQUARE_LAW_COMMON/inverseSquareLawCommon' ); const ISLCA11yStrings = require( 'INVERSE_SQUARE_LAW_COMMON/ISLCA11yStrings' ); - const utteranceQueue = require( 'UTTERANCE_QUEUE/utteranceQueue' ); - - // strings +// strings const forceValuesHiddenString = ISLCA11yStrings.forceValuesHidden.value; class ISLCAlertManager { @@ -52,7 +50,7 @@ define( require => { } this.showForceValuesUtterance.alert = alert; - utteranceQueue.addToBack( this.showForceValuesUtterance ); + phet.joist.sim.display.utteranceQueue.addToBack( this.showForceValuesUtterance ); } } diff --git a/js/view/ISLCRulerNode.js b/js/view/ISLCRulerNode.js index 22365f2..8e71f6a 100644 --- a/js/view/ISLCRulerNode.js +++ b/js/view/ISLCRulerNode.js @@ -29,8 +29,7 @@ define( require => { const StringUtils = require( 'PHETCOMMON/util/StringUtils' ); const Util = require( 'DOT/Util' ); const Utterance = require( 'UTTERANCE_QUEUE/Utterance' ); - const utteranceQueue = require( 'UTTERANCE_QUEUE/utteranceQueue' ); - const Vector2 = require( 'DOT/Vector2' ); +const Vector2 = require( 'DOT/Vector2' ); // strings const unitsCentimetersString = require( 'string!INVERSE_SQUARE_LAW_COMMON/units.centimeters' ); @@ -203,7 +202,7 @@ define( require => { onGrab: () => { grabbedUtterance.alert = rulerDescriber.getRulerGrabbedAlertable(); - utteranceQueue.addToBack( grabbedUtterance ); + phet.joist.sim.display.utteranceQueue.addToBack( grabbedUtterance ); }, listenersForDrag: [ keyboardDragListener ]