Skip to content

Commit 5864d2b

Browse files
committed
Merge pull request webRTC-io#13 from danielkutik/master
variable should be declared
2 parents 839208e + 15a7472 commit 5864d2b

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)