Skip to content

Commit

Permalink
Merge pull request #13 from danielkutik/master
Browse files Browse the repository at this point in the history
variable should be declared
  • Loading branch information
sarenji committed Feb 11, 2013
2 parents 839208e + 15a7472 commit 5864d2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/index.html
Expand Up @@ -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));
});
Expand Down

0 comments on commit 5864d2b

Please sign in to comment.