debug
This commit is contained in:
parent
266f6a7bad
commit
949d5ac54b
|
@ -41,7 +41,7 @@ function connectFour(bot1,bot2,xd_check, newGame){
|
||||||
xhr.onreadystatechange = function(){if(xhr.readyState == 4){
|
xhr.onreadystatechange = function(){if(xhr.readyState == 4){
|
||||||
if(xhr.status == 200) {
|
if(xhr.status == 200) {
|
||||||
//for debug
|
//for debug
|
||||||
alert (xhr.responseText);
|
document.getElementById('logs').innerHTML += xhr.responseText + '<br/>';
|
||||||
try{
|
try{
|
||||||
var reponse = JSON.parse(xhr.responseText);
|
var reponse = JSON.parse(xhr.responseText);
|
||||||
}catch(e){
|
}catch(e){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user