Skip to content

Commit

Permalink
fixes #200
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Goedde committed May 31, 2016
1 parent fc04b20 commit 636005d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package/lib/transport/websocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Factory.prototype.create = function () {
} else {
websocket = new global.WebSocket(self._options.url);
}
websocket.binaryType = 'arrayBuffer';
websocket.binaryType = 'arraybuffer';

// older versions of Firefox prefix the WebSocket object
} else if ("MozWebSocket" in global) {
Expand Down Expand Up @@ -228,4 +228,5 @@ Factory.prototype.create = function () {
};



exports.Factory = Factory;

0 comments on commit 636005d

Please sign in to comment.