Permalink
Browse files

Revert buffer patch, revert my git fail

  • Loading branch information...
1 parent 0394aad commit bb3a2554ff8303616a37f6241df6129bea9b3a5b @nicokaiser nicokaiser committed Mar 30, 2012
Showing with 1 addition and 12 deletions.
  1. +1 −1 README.md
  2. +0 −10 doc/ws.md
  3. +0 −1 lib/Receiver.js
View
2 README.md
@@ -105,7 +105,7 @@ Otherwise, see the test cases.
## API Docs ##
-See the docs/ directory for Node.js-like docs for the ws classes.
+See the doc/ directory for Node.js-like docs for the ws classes.
## Todos ##
View
10 doc/ws.md
@@ -105,19 +105,9 @@ Streams data through calls to a user supplied function. `options` can be an obje
Immediately shuts down the connection
-
### websocket.onopen
-
-Emulates the W3C Browser based WebSocket interface using function members.
-
### websocket.onerror
-
-Emulates the W3C Browser based WebSocket interface using function members.
-
### websocket.onclose
-
-Emulates the W3C Browser based WebSocket interface using function members.
-
### websocket.onmessage
Emulates the W3C Browser based WebSocket interface using function members.
View
1 lib/Receiver.js
@@ -258,7 +258,6 @@ Receiver.prototype.unmask = function (mask, buf, binary) {
*/
Receiver.prototype.concatBuffers = function(buffers) {
- if (buffers.length == 1) return buffers[0];
var length = 0;
for (var i = 0, l = buffers.length; i < l; ++i) length += buffers[i].length;
var mergedBuffer = new Buffer(length);

0 comments on commit bb3a255

Please sign in to comment.