NodeGuy / server-date

Make the server's clock available in the browser.
http://www.nodeguy.com/serverdate/
Mozilla Public License 2.0
193 stars 53 forks source link

not an "issue", but fyi #37

Closed jonathan-annett closed 5 years ago

jonathan-annett commented 5 years ago

I beefed up ServerDate a bit to handle websockets and/or socket.io

(note i spun off the server ping functionality into serverPing.js which handles the ws/socket.io/xhr mode selection based on what it can get away with)

working glich here

https://separate-brisket.glitch.me/

code here:

https://glitch.com/~separate-brisket

NodeGuy commented 5 years ago

Nice! Thanks for sharing.