Skip to content

Commit

Permalink
Retooling to be IE11-compatible and streamline tests to avoid the unl…
Browse files Browse the repository at this point in the history
…oad issues, see phetsims/aqua#88
  • Loading branch information
jonathanolson committed Apr 25, 2020
1 parent 0ae6ee6 commit 4b8dcb3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions js/Sim.js
Original file line number Diff line number Diff line change
Expand Up @@ -864,6 +864,11 @@ export default inherit( Object, Sim, {
phet.chipper.brand === 'phet' && assert && assert( !Tandem.PHET_IO_ENABLED, 'window.phet.preloads.phetio should not exist for phet brand' );

// Communicate sim load (successfully) to joist/tests/test-sims.html
if ( phet.chipper.queryParameters.continuousTest ) {
phet.chipper.reportContinuousTestResult( {
type: 'continuous-test-load'
} );
}
if ( phet.chipper.queryParameters.postMessageOnLoad ) {
window.parent && window.parent.postMessage( JSON.stringify( {
type: 'load',
Expand Down

0 comments on commit 4b8dcb3

Please sign in to comment.