Ensure message is always defined

This commit is contained in:
Victor Gama
2015-02-20 21:37:18 -02:00
committed by James Coglan
parent 309b5651a7
commit 5f6873ebc0
+1
View File
@@ -171,6 +171,7 @@ var instance = {
pong: function(message) {
if (this.readyState > 1) return false;
message = message ||'';
return this.frame(message, 'pong');
},