Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bumblebird
on Dec 10, 2009
|
parent
|
context
|
favorite
| on:
Web Sockets Now Available In Google Chrome
That's why you would use it where available, instead of targeting.
if (browser.supportsWebSocket) useWebSocket(); else useComet();
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
if (browser.supportsWebSocket) useWebSocket(); else useComet();