Skip to content

Commit

Permalink
make OptionsDialog use PhetioCapsule, phetsims/phet-io-wrappers#288 p…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 23, 2019
1 parent 9fef7e8 commit 3e201f3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions js/Dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,6 @@ define( require => {
addAriaLabelledByFromTitle: true
}, options );

// TODO: just to support a single usage of PhetioCapsule in AboutDialog, but not break everything else https://github.com/phetsims/phet-io/issues/1454
if ( options.tandem.phetioID.indexOf( 'aboutDialog' ) < 0 ) {

// TODO: Support instrumented element that is dynamic/lazily created, see https://github.com/phetsims/phet-io/issues/1454
options.tandem = Tandem.optional;
}

// by default, copy the state of the dialog
PhetioObject.mergePhetioComponentOptions( {
phetioState: options.phetioState
Expand Down

0 comments on commit 3e201f3

Please sign in to comment.