mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2025-01-19 04:31:36 +00:00
style
This commit is contained in:
parent
1d7912142b
commit
1ec4eaa273
@ -487,4 +487,7 @@ Server.prototype._onWebSocketError = function (socket, err) {
|
|||||||
self._onWebSocketClose(socket)
|
self._onWebSocketClose(socket)
|
||||||
}
|
}
|
||||||
|
|
||||||
function toNumber (x) { return (x = Number(x)) >= 0 ? x : false }
|
function toNumber (x) {
|
||||||
|
x = Number(x)
|
||||||
|
return x >= 0 ? x : false
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user