Skip to content

Commit

Permalink
Update snakecase to camelcase for certain variables.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 210592195
  • Loading branch information
smoitra-g authored and psc-g committed Aug 30, 2018
1 parent 4f65468 commit c154865
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions baselines/plots.html
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -105,18 +105,18 @@ <h1>Baseline plots</h1>
"wizardofwor", "wizardofwor",
"yarsrevenge", "yarsrevenge",
"zaxxon", "zaxxon",
] ];
function showGame(elem) { function showGame(elem) {
var selected_game = elem.value; var selectedGame = elem.value;
var data_source = "data/" + selected_game + ".vg.json"; var dataSource = "data/" + selectedGame + ".vg.json";
vegaEmbed("#" + selected_game + "_vg", data_source); vegaEmbed("#" + selectedGame + "_vg", dataSource);
$(".outer_div").attr("style","display:none"); $(".outer_div").attr("style","display:none");
document.getElementById(elem.value).style.display = "block"; document.getElementById(elem.value).style.display = "block";
} }
$(document).ready(function() { $(document).ready(function() {
console.log("Document loaded.") console.log("Document loaded.")
// Add options to drop down. // Add options to drop down.
var gameSelect = $("#game") var gameSelect = $("#game");
$.each(games, function(idx, game) { $.each(games, function(idx, game) {
gameSelect.append( gameSelect.append(
$("<option></option>").val(game).html(game) $("<option></option>").val(game).html(game)
Expand Down

0 comments on commit c154865

Please sign in to comment.