leapmotion/leapjs — pull request #136 by bingomanatee (2014-01-16 21:40:02+00:00)
Title: added informative alert if WebSockets not present in the connection.

its not especially easy to test - but it does catch the situation where WebSocket is undefined and throws a more helpful message at the user for feedback.