debug
This commit is contained in:
parent
580c084bdf
commit
7749370b4b
|
@ -40,6 +40,9 @@ function connectFour(bot1,bot2,xd_check, newGame){
|
||||||
var xhr = Ajx();
|
var xhr = Ajx();
|
||||||
xhr.onreadystatechange = function(){if(xhr.readyState == 4){
|
xhr.onreadystatechange = function(){if(xhr.readyState == 4){
|
||||||
if(xhr.status == 200) {
|
if(xhr.status == 200) {
|
||||||
|
//for debug
|
||||||
|
alert xhr.responseText;
|
||||||
|
return;
|
||||||
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