From 003f330a33c94a6adc0e1974b3007a308782fe4c Mon Sep 17 00:00:00 2001 From: zepumph Date: Wed, 3 Oct 2018 10:49:31 -0800 Subject: [PATCH] rename tandem.isSuppliedAndEnabled to PhetioObject.isPhetioInstrumented, https://github.com/phetsims/tandem/issues/62 --- js/display/Display.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/display/Display.js b/js/display/Display.js index 7f2c6506a..085658234 100644 --- a/js/display/Display.js +++ b/js/display/Display.js @@ -1740,7 +1740,7 @@ define( function( require ) { // If in phet-io brand, a11y is enabled, and the focus is not null if ( window.phet && phet.phetio && phet.chipper.accessibility && value ) { var node = value.trail.lastNode(); - assert && assert( node.tandem && node.tandem.isSuppliedAndEnabled(), + assert && assert( node.isPhetioInstrumented(), 'When running phet-io mode, all focusable instances must be instrumented.' ); }