See previous

This commit is contained in:
roblevesque 2016-07-07 11:59:46 -04:00 committed by GitHub
parent 246ddb2e12
commit 463e4fba9f

View File

@ -17,7 +17,7 @@ function init() {
// Load Data // Load Data
var xmlhttp = new XMLHttpRequest(); var xmlhttp = new XMLHttpRequest();
var url = "js/empiredata.json"; var url = "js/empiredata.json";
var jsonEmpire; var jsonEmpire=[];
xmlhttp.onreadystatechange = function() { xmlhttp.onreadystatechange = function() {
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {