We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8429855 commit 821639bCopy full SHA for 821639b
1 file changed
example/echo_cherrypy_server.py
@@ -27,7 +27,7 @@ def index(self):
27
28
websocket = 'ws://%(host)s:%(port)s/ws';
29
if (window.WebSocket) {
30
- ws = WebSocket(websocket);
+ ws = new WebSocket(websocket);
31
}
32
else if (window.MozWebSocket) {
33
ws = MozWebSocket(websocket);
0 commit comments