mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-14 13:41:05 +00:00
Update http.js
This commit is contained in:
parent
e3505e8cba
commit
a9162717d2
|
@ -39,7 +39,7 @@ var HTTPObject = function(engine) {
|
||||||
},
|
},
|
||||||
"unixnowms": function(diff) { // e.g. {unixnowms -300000} (milliseconds)
|
"unixnowms": function(diff) { // e.g. {unixnowms -300000} (milliseconds)
|
||||||
var t = parseInt(diff);
|
var t = parseInt(diff);
|
||||||
return new Date().getTime() - t;
|
return Math.floor(new Date().getTime()) - t;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
this.connectTimeout = 0;
|
this.connectTimeout = 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user