Skip to content
Browse files

Removed reference to .messages (legacy JSON decoding)

  • Loading branch information...
1 parent e469528 commit 99c4e8deab552bff461c2cb0efe95383ff2e2600 @rauchg rauchg committed Jul 28, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 socket.io.js
View
4 socket.io.js
@@ -117,8 +117,8 @@ io.util = {
Transport.prototype._onData = function(data){
var msgs = this._decode(data);
if (msgs){
- for (var i = 0, l = msgs.length; i < l; i++){
- this._onMessage(msgs.messages[i]);
+ for (var i = 0, l = msgs.length; i < l; i++){
+ this._onMessage(msgs[i]);
}
}
};

0 comments on commit 99c4e8d

Please sign in to comment.
Something went wrong with that request. Please try again.