projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mop_flush modify
[brisk.git]
/
web
/
commons.js
diff --git
a/web/commons.js
b/web/commons.js
index
704c481
..
ea42c61
100644
(file)
--- a/
web/commons.js
+++ b/
web/commons.js
@@
-1,7
+1,7
@@
/*
* brisk - commons.js
*
/*
* brisk - commons.js
*
- * Copyright (C) 2006-20
08
Matteo Nastasi
+ * Copyright (C) 2006-20
11
Matteo Nastasi
* mailto: nastasi@alternativeoutput.it
* matteo.nastasi@milug.org
* web: http://www.alternativeoutput.it
* mailto: nastasi@alternativeoutput.it
* matteo.nastasi@milug.org
* web: http://www.alternativeoutput.it
@@
-19,12
+19,10
@@
* not, write to the Free Software Foundation, Inc, 59 Temple Place -
* Suite 330, Boston, MA 02111-1307, USA.
*
* not, write to the Free Software Foundation, Inc, 59 Temple Place -
* Suite 330, Boston, MA 02111-1307, USA.
*
- * $Id$
- *
*/
var PLAYERS_N = 3;
*/
var PLAYERS_N = 3;
-var EXIT_BAN_TIME =
9
00;
+var EXIT_BAN_TIME =
36
00;
var cookiepath = "/brisk/";
var mlang_commons = { 'imgload_a' : { 'it' : 'Immagine caricate ',
var cookiepath = "/brisk/";
var mlang_commons = { 'imgload_a' : { 'it' : 'Immagine caricate ',
@@
-252,6
+250,12
@@
function send_mesg(mesg)
// alert("xhr_wr: "+xhr_wr+" is_conn: "+is_conn);
xhr_wr.open('GET', 'index_wr.php?'+(is_conn ? 'sess='+sess+'&' : '')+'mesg='+mesg, (is_conn ? true : false));
xhr_wr.onreadystatechange = function() { return; };
// alert("xhr_wr: "+xhr_wr+" is_conn: "+is_conn);
xhr_wr.open('GET', 'index_wr.php?'+(is_conn ? 'sess='+sess+'&' : '')+'mesg='+mesg, (is_conn ? true : false));
xhr_wr.onreadystatechange = function() { return; };
+ if (typeof(console) == 'object') {
+ if (typeof(console.log) == 'function') {
+ var ldate = new Date();
+ console.log(ldate.getTime()+':MESG:'+mesg);
+ }
+ }
xhr_wr.send(null);
if (!is_conn) {
xhr_wr.send(null);
if (!is_conn) {