From 15a7472f3d879d750b998c3fac2f0cc5fe3faad1 Mon Sep 17 00:00:00 2001 From: Daniel Kutik Date: Thu, 7 Feb 2013 22:20:18 +0530 Subject: [PATCH] variable should be declared --- example/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/index.html b/example/index.html index 4dbe740..51163ff 100644 --- a/example/index.html +++ b/example/index.html @@ -175,7 +175,7 @@ } }, false); rtc.on(chat.event, function() { - data = chat.recv.apply(this, arguments); + var data = chat.recv.apply(this, arguments); console.log(data.color); addToChat(data.messages, data.color.toString(16)); });