Permalink
Browse files

Update snakecase to camelcase for certain variables.

PiperOrigin-RevId: 210592195
  • Loading branch information...
Subhodeep Moitra authored and psc-g committed Aug 28, 2018
1 parent 4f65468 commit c15486594c01348ba12864893e5b88486db73ca3
Showing with 5 additions and 5 deletions.
  1. +5 −5 baselines/plots.html
View
@@ -105,18 +105,18 @@ <h1>Baseline plots</h1>
"wizardofwor",
"yarsrevenge",
"zaxxon",
]
];
function showGame(elem) {
var selected_game = elem.value;
var data_source = "data/" + selected_game + ".vg.json";
vegaEmbed("#" + selected_game + "_vg", data_source);
var selectedGame = elem.value;
var dataSource = "data/" + selectedGame + ".vg.json";
vegaEmbed("#" + selectedGame + "_vg", dataSource);
$(".outer_div").attr("style","display:none");
document.getElementById(elem.value).style.display = "block";
}
$(document).ready(function() {
console.log("Document loaded.")
// Add options to drop down.
var gameSelect = $("#game")
var gameSelect = $("#game");
$.each(games, function(idx, game) {
gameSelect.append(
$("<option></option>").val(game).html(game)

0 comments on commit c154865

Please sign in to comment.