From b5c1a762989ea41568ec8b03c5bb001d670c07ea Mon Sep 17 00:00:00 2001 From: sidya82 Date: Fri, 28 Feb 2014 06:30:30 +0100 Subject: [PATCH] =?UTF-8?q?=09modifi=C3=A9:=20=20=20=20=20=20=20=20=20test?= =?UTF-8?q?.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test.html b/test.html index a5fbdce..dac35a5 100644 --- a/test.html +++ b/test.html @@ -17,12 +17,12 @@ ws.onclose = function () { console.log("connection closed"); }; - function refresh() { + /* function refresh() {*/ console.log("send data"); ws.send("next"); - } - /*$(document).ready(refresh())*/ - setInterval(refresh(), 2000); + //} + /*$(document).ready(refresh()) + setInterval(refresh(), 2000);*/