Skip to content

Commit

Permalink
define phetioCompareAPIs under phetio global, allow overwriting, phet…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Apr 12, 2021
1 parent 9a4239c commit 3ba4968
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions js/phet-io/phetioCompareAPIs.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@ if ( typeof window === 'undefined' ) {
}
else {

// running in browser as a preload
assert && assert( !window.hasOwnProperty( 'phetioCompareAPIs' ), 'phetioCompareAPIs was unexpectedly already defined' );
window.phetioCompareAPIs = _phetioCompareAPIs;
window.phetio = window.phetio || {};
window.phetio.phetioCompareAPIs = _phetioCompareAPIs;
}

0 comments on commit 3ba4968

Please sign in to comment.