This commit is contained in:
parent
116f63b5ce
commit
ac9ebd725c
|
@ -49,7 +49,11 @@
|
|||
};
|
||||
var util={
|
||||
sendl:function(){
|
||||
this.send(JSON.stringify(Array.from(arguments)));
|
||||
var args=[];
|
||||
for(var i=0;i<arguments.length;i++){
|
||||
args.push(arguments[i]);
|
||||
}
|
||||
this.send(JSON.stringify(args));
|
||||
},
|
||||
getid:function(){
|
||||
return (Math.floor(1000000000+9000000000*Math.random())).toString();
|
||||
|
|
Loading…
Reference in New Issue