Skip to content

Commit

Permalink
cacheBust phetmarks bug fix, phetsims/phet-io#1555
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 9, 2019
1 parent f08e313 commit 03eef04
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions js/phetmarks.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@
( function() {
'use strict';

const disableCacheBust = { value: 'cacheBust=false', text: 'Disable cache Bust' };

// Query parameters used for the following modes: requirejs, compiled, production
const simQueryParameters = [
{ value: 'a11y', text: 'Accessibility' },
{ value: 'cacheBust=false', text: 'Disable Cache bust' },
disableCacheBust,
{ value: 'supportsSound', text: 'Supports Sound' },
{ value: 'supportsEnhancedSound', text: 'Supports Enhanced Sound' },
{ value: 'audioVolume=0', text: 'Mute' },
Expand Down Expand Up @@ -252,7 +254,7 @@
url: '../' + repo + '/' + repo + '-tests.html',
queryParameters: [
{ value: 'ea', text: 'Assertions', default: true },
{ value: 'cacheBust', text: 'Cache Bust', default: true }
disableCacheBust
]
} );
}
Expand Down Expand Up @@ -395,11 +397,7 @@
group: 'PhET-iO',
description: 'Test the PhET-iO API for this sim.',
url: '../phet-io-wrappers/phet-io-wrappers-tests.html?sim=' + repo,
queryParameters: phetioWrapperQueryParameters.concat( [ {
value: 'cacheBust',
text: 'Cache Bust',
default: true
} ] )
queryParameters: phetioWrapperQueryParameters.concat( [ disableCacheBust ] )
} );

// Add a link to the compiled wrapper index;
Expand Down

0 comments on commit 03eef04

Please sign in to comment.