From 33093e9dbf86c26fba96fc73181bfc834fa304b7 Mon Sep 17 00:00:00 2001 From: Weiwei Jiang Date: Mon, 25 Jan 2016 11:16:04 +0800 Subject: [PATCH] Fix the reference error --- simple/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simple/index.html b/simple/index.html index 3269c94..2212140 100644 --- a/simple/index.html +++ b/simple/index.html @@ -8,7 +8,7 @@ $(function() { var ws = new WebSocket("ws://localhost:8080/echo"); ws.onmessage = function(e) { - console.log("受信メッセージ:" + event.data); + console.log("受信メッセージ:" + e.data); }; var $ul = $('#msg-list');