Skip to content
Browse files

support firefox7

  • Loading branch information...
1 parent b4deb32 commit cd49f80bad141ad6ea502d580e8aba7a3851688e @denik committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 example/echo_gevent_server.py
View
3 example/echo_gevent_server.py
@@ -9,6 +9,9 @@
<head>
<script type='application/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'> </script>
<script type='application/javascript'>
+
+ try { WebSocket } catch(err) { WebSocket = MozWebSocket; }
+
$(document).ready(function() {
var ws = new WebSocket('ws://localhost:9000/ws');
$(window).unload(function() {

0 comments on commit cd49f80

Please sign in to comment.
Something went wrong with that request. Please try again.