Permalink
Browse files

Merge pull request #65 from nicokaiser/master

Remove unused options in Sender classes
  • Loading branch information...
2 parents c911ad4 + 6f45452 commit 6690eee9e78c97b2128e991c9c6b727d4d1350d7 @einaros einaros committed Apr 18, 2012
Showing with 2 additions and 4 deletions.
  1. +1 −1 lib/Sender.hixie.js
  2. +1 −3 lib/Sender.js
View
@@ -12,7 +12,7 @@ var events = require('events')
* Hixie Sender implementation
*/
-function Sender (socket, options) {
+function Sender(socket) {
this.socket = socket;
}
View
@@ -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;
}

0 comments on commit 6690eee

Please sign in to comment.