Ver código fonte

Fixes some typos that cause errors

master
Zalmoxisus 10 anos atrás
pai
commit
567ac23c2c

+ 1
- 1
libs/modules/RTC.bundle.js Ver arquivo

154
      */
154
      */
155
     bindDataChannelListener: function (peerConnection) {
155
     bindDataChannelListener: function (peerConnection) {
156
         if(!config.openSctp)
156
         if(!config.openSctp)
157
-            retrun;
157
+            return;
158
 
158
 
159
         peerConnection.ondatachannel = this.onDataChannel;
159
         peerConnection.ondatachannel = this.onDataChannel;
160
 
160
 

+ 1
- 1
libs/modules/xmpp.bundle.js Ver arquivo

3796
             var self = this;
3796
             var self = this;
3797
             // Remove old ssrcs coming from the jid
3797
             // Remove old ssrcs coming from the jid
3798
             Object.keys(this.ssrc2jid).forEach(function (ssrc) {
3798
             Object.keys(this.ssrc2jid).forEach(function (ssrc) {
3799
-                if (self.ssrc2jid[ssrc] == jid) {
3799
+                if (self.ssrc2jid[ssrc] == from) {
3800
                     delete self.ssrc2jid[ssrc];
3800
                     delete self.ssrc2jid[ssrc];
3801
                 }
3801
                 }
3802
             });
3802
             });

+ 1
- 1
modules/RTC/DataChannels.js Ver arquivo

153
      */
153
      */
154
     bindDataChannelListener: function (peerConnection) {
154
     bindDataChannelListener: function (peerConnection) {
155
         if(!config.openSctp)
155
         if(!config.openSctp)
156
-            retrun;
156
+            return;
157
 
157
 
158
         peerConnection.ondatachannel = this.onDataChannel;
158
         peerConnection.ondatachannel = this.onDataChannel;
159
 
159
 

+ 1
- 1
modules/xmpp/strophe.emuc.js Ver arquivo

570
             var self = this;
570
             var self = this;
571
             // Remove old ssrcs coming from the jid
571
             // Remove old ssrcs coming from the jid
572
             Object.keys(this.ssrc2jid).forEach(function (ssrc) {
572
             Object.keys(this.ssrc2jid).forEach(function (ssrc) {
573
-                if (self.ssrc2jid[ssrc] == jid) {
573
+                if (self.ssrc2jid[ssrc] == from) {
574
                     delete self.ssrc2jid[ssrc];
574
                     delete self.ssrc2jid[ssrc];
575
                 }
575
                 }
576
             });
576
             });

Carregando…
Cancelar
Salvar