Skip to content

Commit

Permalink
rename tandem.isSuppliedAndEnabled to PhetioObject.isPhetioInstrument…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 3, 2018
1 parent 64d767c commit 003f330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/display/Display.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.' );
}

Expand Down

0 comments on commit 003f330

Please sign in to comment.