Permalink
Browse files

Build

  • Loading branch information...
rauchg committed Jun 30, 2011
1 parent c5d11cb commit 5efc281a5394d43769d67f7120751a707b1e8820
Showing with 3 additions and 4 deletions.
  1. +2 −3 dist/socket.io.js
  2. +1 −1 dist/socket.io.min.js
View
@@ -1899,7 +1899,6 @@
'undefined' != typeof io ? io : module.exports
, 'undefined' != typeof io ? io : module.parent.exports
);
-
/**
* socket.io
* Copyright(c) 2011 LearnBoost <dev@learnboost.com>
@@ -1971,7 +1970,7 @@
if ('function' == typeof fn) {
packet.id = ++this.ackPackets;
- packet.ack = fn.length ? 'data' : true;
+ packet.ack = true;
this.acks[packet.id] = fn;
}
@@ -1994,7 +1993,7 @@
if ('function' == typeof lastArg) {
packet.id = ++this.ackPackets;
- packet.ack = lastArg.length ? 'data' : true;
+ packet.ack = 'data';
this.acks[packet.id] = lastArg;
args = args.slice(0, args.length - 1);
}
Oops, something went wrong.

0 comments on commit 5efc281

Please sign in to comment.