Skip to content

Commit

Permalink
Updating generated files, see phetsims/chipper#671
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed May 22, 2018
1 parent 90d16b2 commit b7fcc83
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/plinko-probability-config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017, University of Colorado Boulder
// Copyright 2018, University of Colorado Boulder

/*
* IMPORTANT: This file was auto-generated by "grunt generate-config". Please do not modify this directly. Instead
Expand Down
8 changes: 6 additions & 2 deletions plinko-probability_a11y_view.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
background-color: #9adaa6;
border-bottom: double 3px #000; /*or a border in dark green*/
}

em { /* this is the same as the dynamic class, but should be changed as part of https://github.com/phetsims/a11y-research/issues/67*/
background-color: #9adaa6;
border-bottom: double 3px #000; /*or a border in dark green*/
Expand Down Expand Up @@ -175,8 +176,11 @@ <h4>The Plinko Probability descriptions structured in a Parallel DOM</h4>
noAccessibility && ( simulationQueryString += 'accessibility' );


// add brand name for dev deploys
var brandSuffix = window.location.hostname === 'bayes.colorado.edu' ? '_phet' : '';
// support multiple dev sites
var onDevSite = [ 'bayes.colorado.edu', 'phet-dev.colorado.edu', 'www.colorado.edu' ].indexOf( window.location.hostname ) >= 0;

var brandSuffix = onDevSite ? '_phet' : ''; // add brand name for dev deploys

document.getElementById( 'iframe' ).setAttribute( 'src', 'plinko-probability_en' + brandSuffix + '.html' + simulationQueryString );
</script>

Expand Down

0 comments on commit b7fcc83

Please sign in to comment.