Permalink
Browse files

ref(JingleSession): remove unused 'eventEmitter' constructor arg

  • Loading branch information...
paweldomas committed Sep 8, 2016
1 parent d87eaee commit d0b9027e890863f23cbbe2b313b1854893722f83
Showing with 3 additions and 8 deletions.
  1. +1 −6 modules/xmpp/JingleSession.js
  2. +2 −2 modules/xmpp/JingleSessionPC.js
@@ -9,7 +9,7 @@ const logger = getLogger(__filename);
import * as JingleSessionState from "./JingleSessionState";
function JingleSession(me, sid, peerjid, connection,
media_constraints, ice_config, service, eventEmitter) {
media_constraints, ice_config, service) {
/**
* Our JID.
*/
@@ -35,11 +35,6 @@ function JingleSession(me, sid, peerjid, connection,
*/
this.service = service;
/**
* The event emitter.
*/
this.eventEmitter = eventEmitter;
/**
* Whether to use dripping or not. Dripping is sending trickle candidates
* not one-by-one.
@@ -25,9 +25,9 @@ var IQ_TIMEOUT = 10000;
// Jingle stuff
function JingleSessionPC(me, sid, peerjid, connection,
media_constraints, ice_config, service, eventEmitter) {
media_constraints, ice_config, service) {
JingleSession.call(this, me, sid, peerjid, connection,
media_constraints, ice_config, service, eventEmitter);
media_constraints, ice_config, service);
this.lasticecandidate = false;
this.closed = false;

0 comments on commit d0b9027

Please sign in to comment.