Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #65 from nicokaiser/master
Remove unused options in Sender classes
  • Loading branch information
einaros committed Apr 18, 2012
2 parents c911ad4 + 6f45452 commit 6690eee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/Sender.hixie.js
Expand Up @@ -12,7 +12,7 @@ var events = require('events')
* Hixie Sender implementation
*/

function Sender (socket, options) {
function Sender(socket) {
this.socket = socket;
}

Expand Down
4 changes: 1 addition & 3 deletions lib/Sender.js
Expand Up @@ -7,16 +7,14 @@
var events = require('events')
, util = require('util')
, EventEmitter = events.EventEmitter
, Options = require('options')
, ErrorCodes = require('./ErrorCodes')
, bufferUtil = require('./BufferUtil').BufferUtil;

/**
* HyBi Sender implementation
*/

function Sender (socket, options) {
options = new Options({}).merge(options);
function Sender(socket) {
this._socket = socket;
this.firstFragment = true;
}
Expand Down

0 comments on commit 6690eee

Please sign in to comment.