Commit 271b8099 authored by ibuler's avatar ibuler

ok

parent 5f302866
......@@ -1021,7 +1021,7 @@ def lower_case(request):
def test_websocket(request):
return HttpResponse('websocket.html')
return render_to_response('websocket.html')
......
......@@ -8,7 +8,7 @@
output = document.getElementById("output"); testWebSocket();
}
function testWebSocket() {
websocket = new WebSocket(wsUri);
var websocket = new WebSocket(wsUri);
websocket.onopen = function(evt) { onOpen(evt) };
websocket.onclose = function(evt) { onClose(evt) };
websocket.onmessage = function(evt) { onMessage(evt) };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment