Skip to content

Commit 15a7472

Browse files
author
Daniel Kutik
committed
variable should be declared
1 parent 2c4fd93 commit 15a7472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
}
176176
}, false);
177177
rtc.on(chat.event, function() {
178-
data = chat.recv.apply(this, arguments);
178+
var data = chat.recv.apply(this, arguments);
179179
console.log(data.color);
180180
addToChat(data.messages, data.color.toString(16));
181181
});

0 commit comments

Comments
 (0)