소스 검색

Fixes some typos that cause errors

master
Zalmoxisus 10 년 전
부모
커밋
567ac23c2c
4개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 1
    1
      libs/modules/RTC.bundle.js
  2. 1
    1
      libs/modules/xmpp.bundle.js
  3. 1
    1
      modules/RTC/DataChannels.js
  4. 1
    1
      modules/xmpp/strophe.emuc.js

+ 1
- 1
libs/modules/RTC.bundle.js 파일 보기

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

+ 1
- 1
libs/modules/xmpp.bundle.js 파일 보기

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

+ 1
- 1
modules/RTC/DataChannels.js 파일 보기

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

+ 1
- 1
modules/xmpp/strophe.emuc.js 파일 보기

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

Loading…
취소
저장